Lines Matching defs:cb
491 p->cb(optarg);
875 struct callback *cb;
877 cb = malloc(sizeof(struct callback));
878 if (cb == NULL)
880 cb->cb_func = func;
881 cb->cb_arg = arg;
882 cb->cb_next = callbacks;
883 callbacks = cb;
899 struct callback *cb;
945 cb = callbacks;
946 if (cb == NULL)
948 callbacks = cb->cb_next;
949 cb->cb_func(s, cb->cb_arg);
1007 for (cb = callbacks; cb != NULL; cb = cb->cb_next)
1008 cb->cb_func(s, cb->cb_arg);