inc/pslTbl.h File Reference

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

Go to the source code of this file.

Data Structures

struct  pslQuery
struct  pslTbl

Functions

pslTblpslTblNew (char *pslFile, char *setName)
void pslTblFree (struct pslTbl **pslTblPtr)
void pslTblFreeList (struct pslTbl **pslTblList)


Function Documentation

void pslTblFree ( struct pslTbl **  pslTblPtr  ) 

Definition at line 55 of file pslTbl.c.

References freeMem(), hashFree, pslTbl::queryHash, and pslTbl::setName.

Referenced by pslTblFreeList().

00057 {
00058 struct pslTbl *pslTbl = *pslTblPtr;
00059 if (pslTbl != NULL)
00060     {
00061     /* pslQuery and psl objects are in local mem */
00062     freeMem(pslTbl->setName);
00063     hashFree(&pslTbl->queryHash);
00064     freeMem(pslTbl);
00065     }
00066 }

Here is the call graph for this function:

Here is the caller graph for this function:

void pslTblFreeList ( struct pslTbl **  pslTblList  ) 

Definition at line 68 of file pslTbl.c.

References pslTbl::next, and pslTblFree().

00070 {
00071 struct pslTbl *pslTbl = *pslTblList;
00072 while (pslTbl != NULL)
00073     {
00074     struct pslTbl *pslTblDel = pslTbl;
00075     pslTbl = pslTbl->next;
00076     pslTblFree(&pslTblDel);
00077     }
00078 *pslTblList = NULL;
00079 }

Here is the call graph for this function:

struct pslTbl* pslTblNew ( char *  pslFile,
char *  setName 
) [read]

Definition at line 42 of file pslTbl.c.

References AllocVar, cloneString(), hashNew, loadPsls(), pslTbl::queryHash, and pslTbl::setName.

00045 {
00046 struct pslTbl *pslTbl;
00047 AllocVar(pslTbl);
00048 pslTbl->setName = (setName == NULL) ? cloneString(pslFile)
00049     : cloneString(setName);
00050 pslTbl->queryHash = hashNew(22);
00051 loadPsls(pslTbl, pslFile);
00052 return pslTbl;
00053 }

Here is the call graph for this function:


Generated on Tue Dec 25 19:12:56 2007 for blat by  doxygen 1.5.2