b0c2018fd436d8f6bdbaae172c477845e2b763d5 kent Mon Oct 12 12:30:52 2015 -0700 Fixing copyright statement. diff --git src/inc/snofmake.h src/inc/snofmake.h index 406d04f..7174e9c 100644 --- src/inc/snofmake.h +++ src/inc/snofmake.h @@ -1,35 +1,34 @@ -/***************************************************************************** - * Copyright (C) 2000 Jim Kent. This source code may be freely used * - * for personal, academic, and non-profit purposes. Commercial use * - * permitted only by explicit agreement with Jim Kent (jim_kent@pacbell.net) * - *****************************************************************************/ +/* snofmake.h - Sorted Name Offset File creation functions. + * + * This file is copyright 2000 Jim Kent, but license is hereby + * granted for all use - public, private or commercial. */ boolean snofMakeIndex(FILE *inFile, char *outName, boolean (*nextRecord)(FILE *inFile, void *data, char **rName, int *rNameLen), void *data); /* Make an index file - name/offset pairs that are sorted by name. * Inputs: * inFile - open file that you're indexing with header read and verified. * outName - name of index file to create * nextRecord - function that reads next record in file you're indexing * and returns the name of that record. Returns FALSE at * end of file. Can set *rNameLen to zero you want indexer * to ignore the record. * data - void pointer passed through to nextRecord. * * Writes diagnostic output to stderr and returns FALSE if there's a problem. */ boolean snofDupeOkIndex(FILE *inFile, char *outName, boolean (*nextRecord)(FILE *inFile, void *data, char **rName, int *rNameLen), void *data, boolean dupeOk); /* Make an index file, as in snofMakeIndex, but optionally allow duplicates * without complaining. */ void snofSignature(char **rSig, int *rSigSize); /* The get signature that should be at start of a snof indexed * file. */ boolean isSnofSig(void *sig); /* Return true if sig is right. */