Skip to content

Commit

Permalink
3+3???
Browse files Browse the repository at this point in the history
git-svn-id: https://subversion.cs.uiuc.edu/svn/bang/eoh2009@127 69d76c3e-0761-0410-948c-9895a8bb34fc
  • Loading branch information
btowal2 committed Mar 7, 2009
1 parent e484c49 commit b15d168
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
12 changes: 11 additions & 1 deletion src/base/bang-types.h
Expand Up @@ -316,7 +316,13 @@ enum BANG_headers {
/**
* -> (corresponding request type)
*/
BANG_WRITE_FINISHED_JOB,
BANG_FINISHED_JOB,

/**
* ->BANG_SEND_AVAILABLE_JOB_REQUEST (corresponding request type)
*
*/
BANG_AVAILABLE_JOB,

/**
* tells the remote end that version is wrong, and that
Expand Down Expand Up @@ -396,6 +402,10 @@ enum BANG_request_types {
*/
BANG_SEND_REQUEST_JOB_REQUEST,

/**
* <-BANG_AVAILABLE_JOB (corresponding header type)
*
*/
BANG_SEND_AVAILABLE_JOB_REQUEST,

/**
Expand Down
2 changes: 0 additions & 2 deletions src/base/bang-write-thread.c
Expand Up @@ -104,8 +104,6 @@ static char write_send_job(BANG_peer *self, BANG_request *request) {
write_message(self,request->request,request->length);
}


///TODO Change header "BANG_WRITE_FINISHED_JOB" to "BANG_FINISHED_JOB" TODO
//BANG_FINISHED_JOB->BANG_SEND_FINISHED_JOB_REQUEST
static char write_finished_job() {
BANG_header header = BANG_FINISHED_JOB;
Expand Down

0 comments on commit b15d168

Please sign in to comment.