this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add some more declarations to os/state_private.h

+10 -1
+10 -1
src/kernel/include/os/state_private.h
··· 8 8 9 9 #define OS_STATE_DATA_SERIALIZED_NSCF_OBJECT 1 10 10 11 + #define OS_STATE_API_FAULT 0 12 + #define OS_STATE_API_REQUEST 1 13 + 11 14 #define OS_STATE_DATA_SIZE_NEEDED(statelen) statelen 12 15 13 16 typedef struct { ··· 15 18 int osd_size; 16 19 char *osd_title; 17 20 void *osd_data; 21 + int osd_data_size; 18 22 } *os_state_data_t; 19 23 20 24 typedef struct { ··· 23 27 24 28 typedef os_state_data_t(^os_state_block_t)(os_state_hints_t hints); 25 29 26 - void os_state_add_handler(dispatch_queue_t arg0, os_state_block_t arg1); 30 + // not sure what the real type for this is 31 + typedef int os_state_handle_t; 32 + 33 + os_state_handle_t os_state_add_handler(dispatch_queue_t arg0, os_state_block_t arg1); 34 + 35 + void os_state_remove_handler(os_state_handle_t handler); 27 36 28 37 #endif