New function Class_GetList()

This commit is contained in:
Alexander Barton 2011-12-25 14:49:52 +01:00
parent 2b95c69ea1
commit dc9fcb0fb2
2 changed files with 10 additions and 0 deletions

View File

@ -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- */

View File

@ -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- */