X-Git-Url: https://jfr.im/git/irc/quakenet/newserv.git/blobdiff_plain/bb4b25ee1e2c89f8f5bb89ff6945fe6a333b8b2c..8c684fca9c7dbb4a2601628c744be9236ee68641:/pqsql/pqsql.h diff --git a/pqsql/pqsql.h b/pqsql/pqsql.h index 3be0ffdd..6f885e2e 100644 --- a/pqsql/pqsql.h +++ b/pqsql/pqsql.h @@ -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__)