* Clean up compiler warnings in msgapi and sqlite auth backend

* Fix consistent buffer pointer bug...
This commit is contained in:
alexhudson
2007-09-21 20:59:51 +00:00
parent 77e0fb5a25
commit bb2df5acdb
4 changed files with 33 additions and 9 deletions
+13 -3
View File
@@ -109,11 +109,21 @@ MsgGetDir(MsgApiDirectory directory, char *buffer, size_t buffer_size);
#define MSGSQL_STMT_SLEEP_MS 250
MsgSQLHandle *MsgSQLOpen(char *path, BongoMemStack *memstack, int locktimeoutms);
void MsgSQLClose(MsgSQLHandle *handle);
BongoMemStack *MsgSQLGetMemStack(MsgSQLHandle *handle);
void MsgSQLSetMemStack(MsgSQLHandle *handle, BongoMemStack *memstack);
void MsgSQLSetLockTimeout(MsgSQLHandle *handle, int timeoutms);
MsgSQLStatement *MsgSQLPrepare(MsgSQLHandle *handle, const char *statement, MsgSQLStatement *stmt);
void MsgSQLClose(MsgSQLHandle *handle);
void MsgSQLSetMemStack(MsgSQLHandle *handle, BongoMemStack *memstack);
void MsgSQLSetLockTimeout(MsgSQLHandle *handle, int timeoutms);
void MsgSQLReset(MsgSQLHandle *handle);
int MsgSQLBeginTransaction(MsgSQLHandle *handle);
int MsgSQLCommitTransaction(MsgSQLHandle *handle);
int MsgSQLAbortTransaction(MsgSQLHandle *handle);
int MsgSQLCancelTransactions(MsgSQLHandle *handle);
int MsgSQLBindString(MsgSQLStatement *stmt, int var, const char *str, BOOL nullify);
int MsgSQLExecute(MsgSQLHandle *handle, MsgSQLStatement *_stmt);
int MsgSQLResults(MsgSQLHandle *handle, MsgSQLStatement *_stmt);
void MsgSQLFinalize(MsgSQLStatement *stmt);
// Misc. util functions