e70152e44cc66cc599ff6b699eb8adc07f3e656a
kent
  Sat May 24 21:09:34 2014 -0700
Adding Copyright NNNN Regents of the University of California to all files I believe with reasonable certainty were developed under UCSC employ or as part of Genome Browser copyright assignment.
diff --git src/hg/inc/pslReader.h src/hg/inc/pslReader.h
index 65c43e2..5e0afac 100644
--- src/hg/inc/pslReader.h
+++ src/hg/inc/pslReader.h
@@ -1,67 +1,70 @@
 /* pslReader - object to read psl objects from database tables or files.  */
+
+/* Copyright (C) 2013 The Regents of the University of California 
+ * See README in this or parent directory for licensing information. */
 #ifndef PSLREADER_H
 #define PSLREADER_H
 
 /* Options to pslGetCreateSql */
 #define PSL_TNAMEIX   0x01  /* create target name index */
 #define PSL_WITH_BIN  0x02  /* add bin column */
 
 char* pslGetCreateSql(char* table, unsigned options, int tNameIdxLen);
 /* Get SQL required to create PSL table.  Options is a bit set consisting
  * of PSL_TNAMEIX, PSL_WITH_BIN, and PSL_XA_FORMAT.  tNameIdxLen is
  * the number of characters in target name to index.  If greater than
  * zero, must specify PSL_TNAMEIX.  If zero and PSL_TNAMEIX is specified,
  * to will default to 8. */
 
 
 struct pslReader;
 struct sqlConnection;
 
 struct pslReader *pslReaderQuery(struct sqlConnection* conn,
                                  char* table, char* where);
 /* Create a new pslReader to read from the given table in the database.
  * If where is not null, it is added as a where clause.  It will determine if
  * pslx columns are in the table. */
 
 struct pslReader *pslReaderChromQuery(struct sqlConnection* conn,
                                       char* table, char* chrom,
                                       char* extraWhere);
 /* Create a new pslReader to read all rows for a chrom in a database table.
  * If extraWhere is not null, it is added as an additional where condition. It
  * will determine if pslx columns are in the table. */
 
 struct pslReader *pslReaderRangeQuery(struct sqlConnection* conn,
                                       char* table, char* chrom,
                                       int start, int end, 
                                       char* extraWhere);
 /* Create a new pslReader to read a chrom range in a database table.  If
  * extraWhere is not null, it is added as an additional where condition. It
  * will determine if pslx columns are in the table. */
 
 struct pslReader *pslReaderFile(char* pslFile, char* chrom);
 /* Create a new pslReader to read from a file.  If chrom is not null,
  * only this chromsome is read.   Checks for psl header and pslx columns. */
 
 struct psl *pslReaderNext(struct pslReader* pr);
 /* Read the next psl, returning NULL if no more */
 
 struct psl *pslReaderAll(struct pslReader* pr);
 /* Read the all of psls */
 
 void pslReaderFree(struct pslReader** prPtr);
 /* Free the pslRead object. */
 
 struct psl *pslReaderLoadQuery(struct sqlConnection* conn,
                                char* table, char* where);
 /* Function that encapsulates doing a query and loading the results */
 
 struct psl *pslReaderLoadRangeQuery(struct sqlConnection* conn,
                                     char* table, char* chrom,
                                     int start, int end, 
                                     char* extraWhere);
 /* Function that encapsulates doing a range query and loading the results */
 
 struct psl *pslReaderLoadFile(char* pslFile, char* chrom);
 /* Function that encapsulates reading a psl file */
 
 #endif