summaryrefslogtreecommitdiff
path: root/src/modules/extra
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-15 09:47:43 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-15 09:47:43 +0000
commit3944d6cf0dbdb5afb714d3b027db0314ff830636 (patch)
tree18f0562a70f7a7a70caec76d624cb59ee6e2927f /src/modules/extra
parent33887e4a65f3e5564204f052c0c145a6a9a8749b (diff)
Comments describing classes, for the url http://svn.inspircd.org/docs/annotated.html
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5251 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra')
-rw-r--r--src/modules/extra/m_sqlutils.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/modules/extra/m_sqlutils.h b/src/modules/extra/m_sqlutils.h
index 23cb41a1e..255e92122 100644
--- a/src/modules/extra/m_sqlutils.h
+++ b/src/modules/extra/m_sqlutils.h
@@ -10,10 +10,16 @@
#define SQLUTILGC "SQLutil GetAssocChan"
#define SQLUTILSUCCESS "You shouldn't be reading this (success)"
+/** Used to associate an SQL query with a user
+ */
class AssociateUser : public Request
{
public:
+ /** Query ID
+ */
unsigned long id;
+ /** User
+ */
userrec* user;
AssociateUser(Module* s, Module* d, unsigned long i, userrec* u)
@@ -28,10 +34,16 @@ public:
}
};
+/** Used to associate an SQL query with a channel
+ */
class AssociateChan : public Request
{
public:
+ /** Query ID
+ */
unsigned long id;
+ /** Channel
+ */
chanrec* chan;
AssociateChan(Module* s, Module* d, unsigned long i, chanrec* u)
@@ -46,9 +58,13 @@ public:
}
};
+/** Unassociate a user or class from an SQL query
+ */
class UnAssociate : public Request
{
public:
+ /** The query ID
+ */
unsigned long id;
UnAssociate(Module* s, Module* d, unsigned long i)
@@ -63,10 +79,16 @@ public:
}
};
+/** Get the user associated with an SQL query ID
+ */
class GetAssocUser : public Request
{
public:
+ /** The query id
+ */
unsigned long id;
+ /** The user
+ */
userrec* user;
GetAssocUser(Module* s, Module* d, unsigned long i)
@@ -81,10 +103,16 @@ public:
}
};
+/** Get the channel associated with an SQL query ID
+ */
class GetAssocChan : public Request
{
public:
+ /** The query id
+ */
unsigned long id;
+ /** The channel
+ */
chanrec* chan;
GetAssocChan(Module* s, Module* d, unsigned long i)