mirror of
				https://github.com/osmarks/ngircd.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	New function Class_GetList()
This commit is contained in:
		| @@ -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- */ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Alexander Barton
					Alexander Barton