diff options
| author | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-12-09 22:35:44 +0000 |
|---|---|---|
| committer | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-12-09 22:35:44 +0000 |
| commit | 6e4112460817c1a099f2143b5e5d18a23c1be621 (patch) | |
| tree | 7ed50fbba3e2779228c1ddf2811f74ce98e79344 /include | |
| parent | 888fe64c6001c09622162d873375dd638c20f85f (diff) | |
BUILD : 1.7.17 (1198) BUGS : NOTES : Reviewed and updated all of the MySQL code...
git-svn-id: svn://svn.anope.org/anope/trunk@1198 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@917 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include')
| -rw-r--r-- | include/extern.h | 8 | ||||
| -rw-r--r-- | include/services.h | 3 |
2 files changed, 7 insertions, 4 deletions
diff --git a/include/extern.h b/include/extern.h index 873a4146e..a064e3678 100644 --- a/include/extern.h +++ b/include/extern.h @@ -495,13 +495,13 @@ E int rdb_open(); E int rdb_close(); E char *rdb_quote(char *str); E int rdb_tag_table(char *table); -E int rdb_clear_table(char *table); +E int rdb_tag_table_where(char *table, char *clause); +E int rdb_empty_table(char *table); +E int rdb_clean_table(char *table); +E int rdb_clean_table_where(char *table, char *clause); E int rdb_scrub_table(char *table, char *clause); E int rdb_direct_query(char *query); E int rdb_ns_set_display(char *newnick, char *oldnick); -E int rdb_cs_set_founder(char *channel, char *founder); -E int rdb_cs_deluser(char *nick); -E int rdb_cs_delchan(ChannelInfo * ci); E void rdb_save_ns_core(NickCore * nc); E void rdb_save_ns_alias(NickAlias * na); E void rdb_save_ns_req(NickRequest * nr); diff --git a/include/services.h b/include/services.h index 9e83ca158..2d7c36d83 100644 --- a/include/services.h +++ b/include/services.h @@ -467,6 +467,9 @@ struct memo_ { char sender[NICKMAX]; char *text; ModuleData *moduleData; /* Module saved data attached to the Memo */ +#ifdef USE_MYSQL + uint32 id; /* Database ID; see mysql.c */ +#endif }; typedef struct { |
