]> jfr.im git - irc/quakenet/newserv.git/blobdiff - pqsql/pqsql.h
CHANSERV: better batcher error handling for expired accounts/accounts with no email.
[irc/quakenet/newserv.git] / pqsql / pqsql.h
index 3be0ffddd7c80664b78abded21b2f17d346ceb09..6f885e2eec1d27cd06e74aa1c3213e8f2a7dec1b 100644 (file)
@@ -16,7 +16,7 @@ typedef struct PQResult {
 typedef int PQModuleIdentifier;
 typedef void (*PQQueryHandler)(PGconn *, void *);
 
-void pqloadtable(char *tablename, PQQueryHandler init, PQQueryHandler data, PQQueryHandler fini);
+void pqloadtable(char *tablename, PQQueryHandler init, PQQueryHandler data, PQQueryHandler fini, void *tag);
 
 void pqasyncqueryf(PQModuleIdentifier identifier, PQQueryHandler handler, void *tag, int flags, char *format, ...) __attribute__ ((format (printf, 5, 6)));
 #define pqasyncqueryi(identifier, handler, tag, format, ...) pqasyncqueryf(identifier, handler, tag, 0, format , ##__VA_ARGS__)