| Line | |
|---|
| 1 | // ============================================================= // |
|---|
| 2 | // // |
|---|
| 3 | // File : arb_cs.h // |
|---|
| 4 | // Purpose : Basics for client/server communication // |
|---|
| 5 | // // |
|---|
| 6 | // Coded by Ralf Westram (coder@reallysoft.de) in March 2011 // |
|---|
| 7 | // Institute of Microbiology (Technical University Munich) // |
|---|
| 8 | // http://www.arb-home.de/ // |
|---|
| 9 | // // |
|---|
| 10 | // ============================================================= // |
|---|
| 11 | |
|---|
| 12 | #ifndef ARB_CS_H |
|---|
| 13 | #define ARB_CS_H |
|---|
| 14 | |
|---|
| 15 | #ifndef ARB_CORE_H |
|---|
| 16 | #include "arb_core.h" |
|---|
| 17 | #endif |
|---|
| 18 | |
|---|
| 19 | const char *arb_gethostname(); |
|---|
| 20 | |
|---|
| 21 | size_t arb_socket_read(int socket, char* ptr, size_t size); |
|---|
| 22 | ssize_t arb_socket_write(int socket, const char* ptr, size_t size); |
|---|
| 23 | GB_ERROR arb_open_socket(const char* name, bool do_connect, int *fd, char** filename_out); |
|---|
| 24 | #else |
|---|
| 25 | #error arb_cs.h included twice |
|---|
| 26 | #endif // ARB_CS_H |
|---|
Note: See
TracBrowser
for help on using the repository browser.