#include "c.h"
Include dependency graph for event.c:

Go to the source code of this file.
Data Structures | |
| struct | entry |
Functions | |
| void | apply (List event, void *arg1, void *arg2) |
| void | attach (Apply func, void *cl, List *list) |
Variables | |
| Events | events |
|
||||||||||||||||
|
Definition at line 18 of file event.c. References entry::cl, entry::func, list::link, List, p, and list::x. Referenced by compound(), definept(), funcdefn(), main(), and retcode(). 00018 {
00019 if (event) {
00020 List lp = event;
00021 do {
00022 struct entry *p = lp->x;
00023 (*p->func)(p->cl, arg1, arg2);
00024 lp = lp->link;
00025 } while (lp != event);
00026 }
00027 }
|
|
||||||||||||||||
|
Definition at line 10 of file event.c. References append(), entry::cl, entry::func, List, NEW, p, and PERM. Referenced by prof_init(), and trace_init(). 00010 {
00011 struct entry *p;
00012
00013 NEW(p, PERM);
00014 p->func = func;
00015 p->cl = cl;
00016 *list = append(p, *list);
00017 }
|
Here is the call graph for this function:

|
|
Definition at line 9 of file event.c. Referenced by idCameraDef::clear(), compound(), definept(), funcdefn(), idCameraDef::getEvent(), main(), idCameraDef::numEvents(), prof_init(), retcode(), and trace_init(). |
1.3.9.1