This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Functions | |
| boolean | snofMakeIndex (FILE *inFile, char *outName, boolean(*nextRecord)(FILE *inFile, void *data, char **rName, int *rNameLen), void *data) |
| boolean | snofDupeOkIndex (FILE *inFile, char *outName, boolean(*nextRecord)(FILE *inFile, void *data, char **rName, int *rNameLen), void *data, boolean dupeOk) |
| void | snofSignature (char **rSig, int *rSigSize) |
| boolean | isSnofSig (void *sig) |
| boolean isSnofSig | ( | void * | sig | ) |
Definition at line 20 of file snofsig.c.
References ixSig.
Referenced by makeSnofName(), and snofOpen().
Here is the caller graph for this function:

| boolean snofDupeOkIndex | ( | FILE * | inFile, | |
| char * | outName, | |||
| boolean(*)(FILE *inFile, void *data, char **rName, int *rNameLen) | nextRecord, | |||
| void * | data, | |||
| boolean | dupeOk | |||
| ) |
Definition at line 181 of file snofmake.c.
References cleanupMem(), errRecover, FALSE, initMem(), makeIndex(), ourErrAbort(), popAbortHandler(), and pushAbortHandler().
Referenced by snofMakeIndex().
00186 { 00187 FILE *outFile; 00188 int status; 00189 00190 /* Initialize */ 00191 if ((outFile = fopen(outName, "wb")) == NULL) 00192 { 00193 fprintf(stderr, "Couldn't create index file %s\n", outName); 00194 return FALSE; 00195 } 00196 initMem(); 00197 00198 /* Wrap error recovery around main routine. */ 00199 status = setjmp(errRecover); 00200 if (status == 0) 00201 { 00202 pushAbortHandler(ourErrAbort); 00203 makeIndex(inFile, outFile, nextRecord, data, dupeOk); 00204 } 00205 popAbortHandler(); 00206 00207 /* Cleanup. */ 00208 fclose(outFile); 00209 cleanupMem(); 00210 return status == 0; 00211 }
Here is the call graph for this function:

Here is the caller graph for this function:

| boolean snofMakeIndex | ( | FILE * | inFile, | |
| char * | outName, | |||
| boolean(*)(FILE *inFile, void *data, char **rName, int *rNameLen) | nextRecord, | |||
| void * | data | |||
| ) |
Definition at line 213 of file snofmake.c.
References FALSE, and snofDupeOkIndex().
00217 : 00218 * inFile - open file that you're indexing with header read and verified. 00219 * outName - name of index file to create 00220 * nextRecord - function that reads next record in file you're indexing 00221 * and returns the name of that record. 00222 * data - void pointer passed through to nextRecord. 00223 * 00224 * In this implementation this function just is an error recovery wrapper 00225 * around the local function makeIndex, which does the real work. */ 00226 { 00227 return snofDupeOkIndex(inFile, outName, nextRecord, data, FALSE); 00228 }
Here is the call graph for this function:

| void snofSignature | ( | char ** | rSig, | |
| int * | rSigSize | |||
| ) |
1.5.2