Advertisement
Guest User

Untitled

a guest
Jun 24th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. #include <xpc/xpc.h>
  2.  
  3. int main(void) {
  4. xpc_object_t message = xpc_dictionary_create(NULL, NULL, 0);
  5.  
  6. xpc_connection_t connection = xpc_connection_create_mach_service("com.getdropbox.dropbox.dbkextd", NULL, 0);
  7. xpc_connection_set_event_handler(connection, ^(xpc_object_t object) {});
  8. xpc_connection_resume(connection);
  9.  
  10. xpc_object_t reply = xpc_connection_send_message_with_reply_sync(connection, message);
  11.  
  12. xpc_release(connection);
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement