summaryrefslogtreecommitdiff
path: root/services.h
diff options
context:
space:
mode:
authorrob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-04-28 20:18:10 +0000
committerrob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-04-28 20:18:10 +0000
commitfba6022e42fc80bbbd4912e2a4591889844907e2 (patch)
treea836b3964ffe7804333fd7898760c853347464b4 /services.h
parent33b49b12cbefc51f2d9d09cdc3e96fa10b271be7 (diff)
BUILD : 1.7.2 (74) BUGS : N/A NOTES : Added moduleAddData() and moduleGetData() currently only added to the User struct as a test
git-svn-id: svn://svn.anope.org/anope/trunk@74 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@50 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'services.h')
-rw-r--r--services.h20
1 files changed, 19 insertions, 1 deletions
diff --git a/services.h b/services.h
index cd00c7c15..18a505d7a 100644
--- a/services.h
+++ b/services.h
@@ -644,8 +644,24 @@ struct csmodeutil_ {
#endif
/*************************************************************************/
-/* Online user and channel data. */
+typedef struct ModuleData_ ModuleData; /* ModuleData struct */
+typedef struct ModuleDataItem_ ModuleDataItem; /* A Module Data Item struct */
+
+struct ModuleDataItem_ {
+ char *key; /* The key */
+ char *value; /* The Value */
+ ModuleDataItem *next; /* The next ModuleDataItem in this list */
+};
+
+struct ModuleData_ {
+ char *moduleName; /* Which module we belong to */
+ ModuleDataItem *di; /* The first Item they own */
+ ModuleData *next; /* The next ModuleData record */
+};
+
+
+/* Online user and channel data. */
struct user_ {
User *next, *prev;
@@ -669,6 +685,8 @@ struct user_ {
NickAlias *na;
+ ModuleData *moduleData[1024]; /* defined for it, it should allow the module Add/Get */
+
int isSuperAdmin; /* is SuperAdmin on or off? */
struct u_chanlist {