1 extern void *ff(void*,int);
3 struct lpgl
{ struct lpgl
*next
; };
4 struct lpgd
{ struct lpgl
*first
; };
7 static void xDP_IF_EnumGroupsInGroup ( void *a
, int b
, xfn fn
)
12 if( ( lpGData
= ff( a
, b
) ) == ((void *)0) )
15 if( lpGData
->first
== ((void *)0) )
17 lpGList
= lpGData
->first
;
22 if( lpGList
->next
== ((void *)0) )
24 lpGList
= lpGList
->next
;
31 xcbDeletePlayerFromAllGroups() {
32 xDP_IF_EnumGroupsInGroup(0, 0, 0);
36 void xDP_IF_EnumGroups( xfn fn
) {
37 xDP_IF_EnumGroupsInGroup( 0, 0, fn
);
40 static void xDP_IF_DestroyPlayer () {
41 xDP_IF_EnumGroups( xcbDeletePlayerFromAllGroups
);
44 void* foo
=xDP_IF_DestroyPlayer
;