BRL-CAD
hook.h File Reference
#include "common.h"
#include "bu/defines.h"
Include dependency graph for hook.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  bu_hook
 
struct  bu_hook_list
 

Macros

#define BU_HOOK_LIST_INIT_ZERO   { 0, 0, NULL}
 
#define BU_HOOK_LIST_IS_INITIALIZED(_p)   ((_p)->capacity != 0)
 

Typedefs

typedef int(* bu_hook_t) (void *, void *)
 
typedef struct bu_hook bu_hook_list_t
 

Functions

void bu_hook_list_init (struct bu_hook_list *hlp)
 
void bu_hook_add (struct bu_hook_list *hlp, bu_hook_t func, void *clientdata)
 
void bu_hook_delete (struct bu_hook_list *hlp, bu_hook_t func, void *clientdata)
 
void bu_hook_call (struct bu_hook_list *hlp, void *buf)
 
void bu_hook_save_all (struct bu_hook_list *source, struct bu_hook_list *destination)
 
void bu_hook_delete_all (struct bu_hook_list *hlp)
 
void bu_hook_restore_all (struct bu_hook_list *destination, struct bu_hook_list *source)