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/lib/suggest.c src/hg/lib/suggest.c
index 8314ecb..79b40eb 100644
--- src/hg/lib/suggest.c
+++ src/hg/lib/suggest.c
@@ -1,42 +1,45 @@
 /* code to support suggesting genes given a prefix typed by the user. */
 
+/* Copyright (C) 2014 The Regents of the University of California 
+ * See README in this or parent directory for licensing information. */
+
 #include "suggest.h"
 
 
 char *connGeneSuggestTable(struct sqlConnection *conn)
 // return name of gene suggest table if this connection has tables to support gene autocompletion, NULL otherwise
 {
 if(sqlTableExists(conn, "knownCanonical"))
     return "knownCanonical";
 else if(sqlTableExists(conn, "refGene"))
     return "refGene";
 else
     return NULL;
 }
 
 boolean assemblySupportsGeneSuggest(char *database)
 // return true if this assembly has tables to support gene autocompletion
 {
 struct sqlConnection *conn = hAllocConn(database);
 char *table = connGeneSuggestTable(conn);
 hFreeConn(&conn);
 return table != NULL;
 }
 
 char *assemblyGeneSuggestTrack(char *database)
 // return name of gene suggest track if this assembly has tables to support gene autocompletion, NULL otherwise
 // Do NOT free returned string.
 {
 struct sqlConnection *conn = hAllocConn(database);
 char *table = connGeneSuggestTable(conn);
 hFreeConn(&conn);
 if(table != NULL)
     {
     if(sameString(table, "knownCanonical"))
         return "knownGene";
     else
         return "refGene";
     }
 else
     return NULL;
 }