Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (15 sloc) 452 Bytes
// Shark control
// Patrick Walton <>
#ifndef SHARKCTL_H
#define SHARKCTL_H
#include <mach/mach.h>
#include <stdint.h>
mach_port_t sharkctl_create_port(void);
mach_msg_return_t sharkctl_connect(mach_port_t shark_port);
mach_msg_return_t sharkctl_start(mach_port_t shark_port, uint32_t name);
mach_msg_return_t sharkctl_stop(mach_port_t shark_port);
mach_msg_return_t sharkctl_disconnect(mach_port_t shark_port);
Jump to Line
Something went wrong with that request. Please try again.