1 #include <portability.h>
161 Bool monitorable_only)
165 if (monitorable_only)
174 if ((0 < i) && (i < limit))
182 Bool monitorable_only)
187 if (monitorable_only)
196 for(i = 1; i < limit; i++)
276 #ifndef NO_TIMING_STUFF
277 switch (callback_type) {
342 #ifndef NO_TIMING_STUFF
343 switch (callback_type) {
394 if (head == NULL)
return;
398 #ifndef NO_TIMING_STUFF
399 switch (callback_type) {
453 #ifndef NO_TIMING_STUFF
454 switch (callback_type) {
495 Bool monitorable_only)
500 if (monitorable_only)
509 for (ct = 1; ct < limit; ct++)
513 print(thisAgent,
"\n");
530 print(thisAgent,
"%s ", cb->
id.c_str());
544 print_string(thisAgent,
"Attempt to remove non-existant callback.\n");
549 && (head->
rest == NULL))
551 print_string(thisAgent,
"Attempt to remove last print callback. Ignored.\n");
599 for (c = next; c !=
NIL; c = next)
618 cons * prev_c = NULL;
623 for (c = head; c !=
NIL; c = c->
rest)
654 printf(
"%s test callback executed.\n", static_cast<char *>(data));
661 static const char * test_callback_name =
"test";
668 NULL, test_callback_name);