navit  0.5.1-trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Groups
callback.c File Reference
#include <glib.h>
#include <string.h>
#include "item.h"
#include "debug.h"
#include "callback.h"

Data Structures

struct  callback
 
struct  callback_list
 

Functions

struct callback_listcallback_list_new (void)
 
struct callbackcallback_new_attr (void(*func)(void), enum attr_type type, int pcount, void **p)
 
struct callbackcallback_new_attr_args (void(*func)(void), enum attr_type type, int count,...)
 
struct callbackcallback_new (void(*func)(void), int pcount, void **p)
 
struct callbackcallback_new_args (void(*func)(void), int count,...)
 
void callback_destroy (struct callback *cb)
 
void callback_set_arg (struct callback *cb, int arg, void *p)
 
void callback_list_add (struct callback_list *l, struct callback *cb)
 
struct callbackcallback_list_add_new (struct callback_list *l, void(*func)(void), int pcount, void **p)
 
void callback_list_remove (struct callback_list *l, struct callback *cb)
 
void callback_list_remove_destroy (struct callback_list *l, struct callback *cb)
 
void callback_call (struct callback *cb, int pcount, void **p)
 
void callback_call_args (struct callback *cb, int count,...)
 
void callback_list_call_attr (struct callback_list *l, enum attr_type type, int pcount, void **p)
 
void callback_list_call_attr_args (struct callback_list *cbl, enum attr_type type, int count,...)
 
void callback_list_call (struct callback_list *l, int pcount, void **p)
 
void callback_list_call_args (struct callback_list *cbl, int count,...)
 
void callback_list_destroy (struct callback_list *l)
 

Function Documentation

void callback_call ( struct callback cb,
int  pcount,
void **  p 
)
void callback_call_args ( struct callback cb,
int  count,
  ... 
)

References callback_call(), and p.

struct callback* callback_list_add_new ( struct callback_list l,
void(*)(void)  func,
int  pcount,
void **  p 
)
void callback_list_call ( struct callback_list l,
int  pcount,
void **  p 
)
void callback_list_call_args ( struct callback_list cbl,
int  count,
  ... 
)

References callback_list_call(), and p.

void callback_list_call_attr ( struct callback_list l,
enum attr_type  type,
int  pcount,
void **  p 
)
void callback_list_call_attr_args ( struct callback_list cbl,
enum attr_type  type,
int  count,
  ... 
)

References callback_list_call_attr(), and p.

void callback_list_remove_destroy ( struct callback_list l,
struct callback cb 
)
struct callback* callback_new ( void(*)(void)  func,
int  pcount,
void **  p 
)
struct callback* callback_new_args ( void(*)(void)  func,
int  count,
  ... 
)
struct callback* callback_new_attr ( void(*)(void)  func,
enum attr_type  type,
int  pcount,
void **  p 
)
struct callback* callback_new_attr_args ( void(*)(void)  func,
enum attr_type  type,
int  count,
  ... 
)
void callback_set_arg ( struct callback cb,
int  arg,
void *  p 
)

References callback::p, p, and callback::pcount.