Changeset 5373:8da157c10483 in roaraudio for include/libroar/config.h
- Timestamp:
- 12/21/11 19:02:52 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
include/libroar/config.h
r5357 r5373 39 39 #include "libroar.h" 40 40 41 struct roar_connection; 42 41 43 // WorkAroundS: 42 44 #define ROAR_LIBROAR_CONFIG_WAS_NONE 0x00 … … 67 69 ROAR_LIBROAR_CONFIG_OPMODE_MS = 2, 68 70 #define ROAR_LIBROAR_CONFIG_OPMODE_MS ROAR_LIBROAR_CONFIG_OPMODE_MS 71 }; 72 73 struct roar_libroar_forkapi { 74 int (*prefork)(void ** context, void * userdata); 75 pid_t (*fork )(void ** context, void * userdata); 76 int (*failed )(void ** context, void * userdata); 77 int (*parent )(void ** context, void * userdata, pid_t child); 78 int (*child )(void ** context, void * userdata); 79 void * userdata; 69 80 }; 70 81 … … 115 126 #endif 116 127 enum roar_libroar_config_opmode opmode; 128 struct roar_libroar_forkapi * forkapi; 129 struct roar_vio_calls * (*connect_internal)(struct roar_connection * con, const char * server, int type, int flags, uint_least32_t timeout); 130 char * daemonimage; 131 int serverflags; 117 132 }; 118 133 … … 129 144 const char * roar_libroar_get_server(void) _LIBROAR_ATTR_USE_RESULT; 130 145 146 int roar_libroar_set_forkapi(struct roar_libroar_forkapi * api); 147 148 int roar_libroar_set_connect_internal(struct roar_vio_calls * (*func)(struct roar_connection * con, const char * server, int type, int flags, uint_least32_t timeout)); 149 131 150 void roar_libroar_nowarn(void); 132 151 void roar_libroar_warn(void);
Note: See TracChangeset
for help on using the changeset viewer.