mirror of
https://github.com/osmarks/ngircd.git
synced 2025-01-31 17:49:11 +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);
|
Lists_Del(&My_Classes[Class], Mask);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GLOBAL struct list_head
|
||||||
|
Class_GetList(const int Class)
|
||||||
|
{
|
||||||
|
assert(Class < CLASS_COUNT);
|
||||||
|
|
||||||
|
return My_Classes[Class];
|
||||||
|
}
|
||||||
|
|
||||||
/* -eof- */
|
/* -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 bool Class_IsMember PARAMS((const int Class, CLIENT *Client));
|
||||||
|
|
||||||
|
GLOBAL struct list_head Class_GetList PARAMS((const int Class));
|
||||||
|
|
||||||
#endif /* __class_h__ */
|
#endif /* __class_h__ */
|
||||||
|
|
||||||
/* -eof- */
|
/* -eof- */
|
||||||
|
Loading…
Reference in New Issue
Block a user