Skip to content

Commit

Permalink
Create cs.h
Browse files Browse the repository at this point in the history
Communication is implemented by c socket at unix domain
  • Loading branch information
shp2013 committed May 28, 2013
1 parent c201528 commit c0ffde9
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions cs.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#ifndef CS_H
#define CS_H

#ifdef __cplusplus
extern "C" {
#endif

//create c function that c++ can call
int Initial();
void Accept(char *msg,size_t size);
void Response(char *msg,size_t size);
void EndSesstion();

#ifdef __cplusplus
}
#endif

#endif

0 comments on commit c0ffde9

Please sign in to comment.