Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <xpc/xpc.h>
- int main(void) {
- xpc_object_t message = xpc_dictionary_create(NULL, NULL, 0);
- xpc_connection_t connection = xpc_connection_create_mach_service("com.getdropbox.dropbox.dbkextd", NULL, 0);
- xpc_connection_set_event_handler(connection, ^(xpc_object_t object) {});
- xpc_connection_resume(connection);
- xpc_object_t reply = xpc_connection_send_message_with_reply_sync(connection, message);
- xpc_release(connection);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement