Changeset eb3d379 in mainline for generic/include/ipc/ipc.h
- Timestamp:
- 2006-06-04T15:58:01Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8adafa0
- Parents:
- 7669bcf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/include/ipc/ipc.h
r7669bcf reb3d379 179 179 180 180 typedef enum { 181 IPC_BUSY_FREE = 0, 182 IPC_BUSY_CONNECTING, 183 IPC_BUSY_CONNECTED 184 } ipc_busy_t; 181 IPC_PHONE_FREE = 0, /**< Phone is free and can be allocated */ 182 IPC_PHONE_CONNECTING, /**< Phone is connecting somewhere */ 183 IPC_PHONE_CONNECTED, /**< Phone is connected */ 184 IPC_PHONE_HUNGUP, /**< Phone is hung up, waiting for answers to come */ 185 IPC_PHONE_SLAMMED /**< Phone was hungup from server */ 186 } ipc_phone_state_t; 185 187 186 188 struct phone_s { … … 188 190 link_t list; 189 191 answerbox_t *callee; 190 ipc_ busy_t busy;192 ipc_phone_state_t state; 191 193 atomic_t active_calls; 192 194 }; … … 223 225 extern int ipc_forward(call_t *call, phone_t *newphone, answerbox_t *oldbox); 224 226 extern void ipc_cleanup(task_t *task); 225 extern int ipc_phone_hangup(phone_t *phone );227 extern int ipc_phone_hangup(phone_t *phone, int aggressive); 226 228 extern void ipc_backsend_err(phone_t *phone, call_t *call, __native err); 227 229
Note:
See TracChangeset
for help on using the changeset viewer.