Commit Graph

12 Commits

Author SHA1 Message Date
Jakub Klama
dd7760f048 Fix compilation, add xpc.main() function. 2015-09-13 21:29:30 +02:00
Jakub Klama
52e89f1288 Remove child connection from tail queue when peer disappears. 2015-09-13 21:28:41 +02:00
Jakub Klama
0c91f9e667 Implement minimal xpc_copy(). 2015-09-13 21:28:09 +02:00
Jakub Klama
7786469f9e Rename directory. 2015-09-13 01:40:58 +02:00
Jakub Klama
f7ee45cbb4 Import py-xpc bindings. 2015-09-13 01:39:19 +02:00
Jakub Klama
c38896f594 Add more error checks; Fix xpc_connection_get_egid() naming. 2015-09-13 01:11:54 +02:00
Jakub Klama
7c2a5cce66 Get rid of now unused unix_port structure. 2015-09-13 01:03:59 +02:00
Jakub Klama
9da170a675 Make it use SEQPACKET sockets. Datagram sockets are too problematic to garbage-collect. 2015-09-13 00:47:17 +02:00
Jakub Klama
718c85f93f Fix style; tie debug output to XPC_DEBUG make option. 2015-09-12 15:37:54 +02:00
Jakub Klama
1cc56fcd11 Add support for passing fds using UNIX transport. 2015-09-12 00:41:32 +02:00
Jakub Klama
404e5c1b70 Initial import.
This code is based on original libxpc from NextBSD.
Improvements:
* MessagePack serialization instead of heavily-modified libnv
* Support for multiple transports (UNIX domain sockets and Mach IPC)
2015-09-11 16:37:32 +02:00
Jakub Klama
9072def42d Initial commit 2015-09-11 16:35:24 +02:00