Skip to content

Commit

Permalink
Some structs so we can manipulate each module.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikhil Samith Bysani committed Jan 14, 2009
1 parent 1c3bf8f commit f6bbe48
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/base/bang-types.h
Expand Up @@ -50,6 +50,21 @@ typedef struct {
char *path;
} BANG_module;

typedef struct {
int *peer_ids;
unsigned int num_peers;
} BANG_module_peerset;

typedef struct {
BANG_module *module;
BANG_module_peerset *peers;
} BANG_module_register;

typedef struct {
BANG_module_register *registery;
unsigned int length;
} BANG_module_registery;

/**
* This is the structure that is sent to each signal handler.
*/
Expand Down

0 comments on commit f6bbe48

Please sign in to comment.