mirror of
https://github.com/osmarks/ngircd.git
synced 2025-01-19 03:52:52 +00:00
New function Class_GetList()
This commit is contained in:
parent
2b95c69ea1
commit
dc9fcb0fb2
@ -75,4 +75,12 @@ Class_DeleteMask(const int Class, const char *Mask)
|
||||
Lists_Del(&My_Classes[Class], Mask);
|
||||
}
|
||||
|
||||
GLOBAL struct list_head
|
||||
Class_GetList(const int Class)
|
||||
{
|
||||
assert(Class < CLASS_COUNT);
|
||||
|
||||
return My_Classes[Class];
|
||||
}
|
||||
|
||||
/* -eof- */
|
||||
|
@ -31,6 +31,8 @@ GLOBAL void Class_DeleteMask PARAMS((const int Class, const char *Mask));
|
||||
|
||||
GLOBAL bool Class_IsMember PARAMS((const int Class, CLIENT *Client));
|
||||
|
||||
GLOBAL struct list_head Class_GetList PARAMS((const int Class));
|
||||
|
||||
#endif /* __class_h__ */
|
||||
|
||||
/* -eof- */
|
||||
|
Loading…
Reference in New Issue
Block a user