Link an MODB name to a stored connection for easier usage

This commit is contained in:
2020-10-05 17:02:52 +01:00
parent 04a5e6ae27
commit eff16310fc
4 changed files with 164 additions and 0 deletions

View File

@@ -38,5 +38,8 @@ int tableExists(struct stored_conn_t *sconn, struct modb_t *modb,
uint64_t destroyTable(struct stored_conn_t *sconn, struct modb_t *modb,
const char *suffix, size_t suffix_len);
int connectionUseMODB(struct stored_conn_t *sconn, struct modb_t *modb, int override);
int connectionGetUse(struct stored_conn_t *sconn, struct modb_t *modb);
void connectionReleaseMODB(struct stored_conn_t *sconn);
#endif // H__MODB_P__