parent
9deae6546b
commit
a7ba7e38a2
3 changed files with 29 additions and 0 deletions
@ -1 +1,3 @@ |
||||
The Rasterman <raster@rasterman.com> |
||||
Christian Kreibich <cK@whoop.org>, <kreibich@aciri.org> |
||||
Burra <burra@colorado.edu> |
||||
|
@ -0,0 +1,26 @@ |
||||
#include "e.h" |
||||
|
||||
void e_ipc_init(void); |
||||
static char *e_ipc_get_version(char *argv); |
||||
|
||||
void |
||||
e_ipc_init(void) |
||||
{ |
||||
char buf[4096]; |
||||
|
||||
/* unix domain socket file path */ |
||||
sprintf(buf, "%secom", e_config_user_dir()); |
||||
|
||||
/* init ecore ipc */ |
||||
e_ev_ipc_init(buf); |
||||
|
||||
/* add ipc services or functions clients can use */ |
||||
e_add_ipc_service(0, e_ipc_get_version); |
||||
} |
||||
|
||||
static char
|
||||
*e_ipc_get_version(char *argv) |
||||
{ |
||||
printf("e_ipc_get_version service called\n"); fflush(stdout); |
||||
return "0.17.0"; |
||||
} |
Loading…
Reference in new issue