start a unix service too

This commit is contained in:
Love Hornquist Astrand
2009-11-23 09:51:30 -08:00
parent 149898ec28
commit d96a7eb2a1

View File

@@ -74,6 +74,7 @@ test_service(void *ctx, const heim_idata *req,
int
main(int argc, char **argv)
{
heim_sipc unix;
int optidx = 0;
setprogname(argv[0]);
@@ -96,6 +97,8 @@ main(int argc, char **argv)
test_service, NULL, &mach);
}
#endif
heim_sipc_service_unix("org.h5l.test-ipc",
test_service, NULL, &unix);
heim_ipc_main();
return 0;