/* dnaMotifSql.h was originally generated by the autoSql program, which also 
 * generated dnaMotifSql.c and dnaMotifSql.sql.  This header links the database and
 * the RAM representation of objects. */

/* Copyright (C) 2005 The Regents of the University of California 
 * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */

#include "jksql.h"
#ifndef JKSQL_H
#define JKSQL_H
#endif /* JKSQL_H */

#ifndef DNAMOTIF_H
#define DNAMOTIF_H

#include "dnaMotif.h"
#endif /* DNAMOTIF_H */

#ifndef DNAMOTIFSQL_H
#define DNAMOTIFSQL_H

struct dnaMotif *dnaMotifLoad(char **row);
/* Load a dnaMotif from row fetched with select * from dnaMotif
 * from database.  Dispose of this with dnaMotifFree(). */

struct dnaMotif *dnaMotifLoadAll(char *fileName);
/* Load all dnaMotif from a tab-separated file.
 * Dispose of this with dnaMotifFreeList(). */

struct dnaMotif *dnaMotifLoadWhere(struct sqlConnection *conn, char *table, char *where);
/* Load all dnaMotif from table that satisfy where clause. The
 * where clause may be NULL in which case whole table is loaded
 * Dispose of this with dnaMotifFreeList(). */

#endif /* DNAMOTIFSQL_H */
