f1610bcea9db115a9c9e0eb0a2c1e4e063ba9fc2
sbenz
  Tue Jun 22 13:33:33 2010 -0700
Added hgsqlProfile to support connecting to dbs using the profile name
diff --git src/hg/inc/sqlProg.h src/hg/inc/sqlProg.h
index d1759d1..60d0203 100644
--- src/hg/inc/sqlProg.h
+++ src/hg/inc/sqlProg.h
@@ -1,20 +1,27 @@
 /* sqlProg - functions for building command line programs to deal with
  * sql databases.*/
 #ifndef SQLPROG_H
 #define SQLPROG_H
 
 void sqlExecProg(char *prog, char **progArgs, int userArgc, char *userArgv[]);
 /* Exec one of the sql programs using user and password from ~/.hg.conf.
  * progArgs is NULL-terminate array of program-specific arguments to add,
  * which maybe NULL. userArgv are arguments passed in from the command line.
  * The program is execvp-ed, this function does not return. */
 
 void sqlExecProgLocal(char *prog, char **progArgs, int userArgc, char *userArgv[]);
 /* 
  * Exec one of the sql programs using user and password defined in localDb.XXX variables from ~/.hg.conf 
  * progArgs is NULL-terminate array of program-specific arguments to add,
  * which maybe NULL. userArgv are arguments passed in from the command line.
  * The program is execvp-ed, this function does not return. 
  */
 
+void sqlExecProgProfile(char *profile, char *prog, char **progArgs, int userArgc, char *userArgv[]);
+/* 
+ * Exec one of the sql programs using user and password defined in profileName.XXX variables from ~/.hg.conf 
+ * progArgs is NULL-terminate array of program-specific arguments to add,
+ * which maybe NULL. userArgv are arguments passed in from the command line.
+ * The program is execvp-ed, this function does not return. 
+ */
 #endif