4898794edd81be5285ea6e544acbedeaeb31bf78 max Tue Nov 23 08:10:57 2021 -0800 Fixing pointers to README file for license in all source code files. refs #27614 diff --git src/hg/inc/kgMapName.h src/hg/inc/kgMapName.h index 2f0908a..897f368 100644 --- src/hg/inc/kgMapName.h +++ src/hg/inc/kgMapName.h @@ -1,65 +1,65 @@ /* kgMapName.h was originally generated by the autoSql program, which also * generated kgMapName.c and kgMapName.sql. This header links the database and * the RAM representation of objects. */ /* Copyright (C) 2004 The Regents of the University of California - * See README in this or parent directory for licensing information. */ + * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */ #ifndef KGMAPNAME_H #define KGMAPNAME_H #define KGMAPNAME_NUM_COLS 2 struct kgMapName /* Maps kg pep names to common name */ { struct kgMapName *next; /* Next in singly linked list. */ char *kgPepId; /* pep ID */ char *geneName; /* gene name */ }; void kgMapNameStaticLoad(char **row, struct kgMapName *ret); /* Load a row from kgMapName table into ret. The contents of ret will * be replaced at the next call to this function. */ struct kgMapName *kgMapNameLoad(char **row); /* Load a kgMapName from row fetched with select * from kgMapName * from database. Dispose of this with kgMapNameFree(). */ struct kgMapName *kgMapNameLoadAll(char *fileName); /* Load all kgMapName from whitespace-separated file. * Dispose of this with kgMapNameFreeList(). */ struct kgMapName *kgMapNameLoadAllByChar(char *fileName, char chopper); /* Load all kgMapName from chopper separated file. * Dispose of this with kgMapNameFreeList(). */ #define kgMapNameLoadAllByTab(a) kgMapNameLoadAllByChar(a, '\t'); /* Load all kgMapName from tab separated file. * Dispose of this with kgMapNameFreeList(). */ struct kgMapName *kgMapNameCommaIn(char **pS, struct kgMapName *ret); /* Create a kgMapName out of a comma separated string. * This will fill in ret if non-null, otherwise will * return a new kgMapName */ void kgMapNameFree(struct kgMapName **pEl); /* Free a single dynamically allocated kgMapName such as created * with kgMapNameLoad(). */ void kgMapNameFreeList(struct kgMapName **pList); /* Free a list of dynamically allocated kgMapName's */ void kgMapNameOutput(struct kgMapName *el, FILE *f, char sep, char lastSep); /* Print out kgMapName. Separate fields with sep. Follow last field with lastSep. */ #define kgMapNameTabOut(el,f) kgMapNameOutput(el,f,'\t','\n'); /* Print out kgMapName as a line in a tab-separated file. */ #define kgMapNameCommaOut(el,f) kgMapNameOutput(el,f,',',','); /* Print out kgMapName as a comma separated list including final comma. */ /* -------------------------------- End autoSql Generated Code -------------------------------- */ #endif /* KGMAPNAME_H */