Skip to content

Commit

Permalink
Added protypes for the some internal functions in thread files.
Browse files Browse the repository at this point in the history
git-svn-id: https://subversion.cs.uiuc.edu/svn/bang/eoh2009@91 69d76c3e-0761-0410-948c-9895a8bb34fc
  • Loading branch information
nbysani2 committed Feb 1, 2009
1 parent 34f4bce commit 646f0d7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/base/bang-read-thread.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,21 @@ static void read_peer_thread_self_close(BANG_peer *self);
*/
static void* read_message(BANG_peer *self, unsigned int length);

static void read_uuid(BANG_peer *self,uuid_t uuid);

/**
* \param self The peer responding to BANG_HELLO.
*
* \brief Acts on an incoming BANG_HELLO.
*/
static char read_hello(BANG_peer *self);

static char read_debug_message(BANG_peer *self);

static char read_module_message(BANG_peer *self);

static char read_job_message(BANG_peer *self);

static void read_peer_thread_self_close(BANG_peer *self) {
BANG_sigargs args;
args.args = &(self->peer_id);
Expand Down
2 changes: 2 additions & 0 deletions src/base/bang-write-thread.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ static unsigned int write_message(BANG_peer *self, void *message, unsigned int l
*/
static void write_module(BANG_peer *self, BANG_request *request);

static void write_module_exists(BANG_peer *self, BANG_request *request);

static unsigned int write_message(BANG_peer *self, void *message, unsigned int length) {
unsigned int written = 0;
int write_return = 0;
Expand Down

0 comments on commit 646f0d7

Please sign in to comment.