bb9ac19c3a5aba045b86635063786a3680a63a3b
craft
  Mon Sep 27 22:31:18 2010 -0700
Port and socket support for db profiles.
diff --git src/hg/inc/jksql.h src/hg/inc/jksql.h
index 2a999c1..57501d1 100644
--- src/hg/inc/jksql.h
+++ src/hg/inc/jksql.h
@@ -66,12 +66,14 @@
 /* Connect to database somewhere as somebody. Database maybe NULL to
  * just connect to the server.  Return NULL can't connect */
 
-void sqlProfileConfig(char *profileName, char *host, char *user, char *password);
+void sqlProfileConfig(char *profileName, char *host, unsigned int port, char *socket,
+				char *user, char *password);
 /* Set configuration for the profile.  This overrides an existing profile in
  * hg.conf or defines a new one.  Results are unpredictable if a connect cache
  * has been established for this profile. */
 
-void sqlProfileConfigDefault(char *host, char *user, char *password);
+void sqlProfileConfigDefault(char *host, unsigned int port, char *socket, char *user,
+				char *password);
 /* Set configuration for the default profile.  This overrides an existing
  * profile in hg.conf or defines a new one.  Results are unpredictable if a
  * connect cache has been established for this profile. */