Changeset fed5a9b in mainline for uspace/lib/hound/include/hound/protocol.h
- Timestamp:
- 2017-12-08T21:03:35Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 125c09c
- Parents:
- a8c7a6d
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-08 03:29:45)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-08 21:03:35)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/hound/include/hound/protocol.h
ra8c7a6d rfed5a9b 58 58 typedef intptr_t hound_context_id_t; 59 59 60 /**61 * Check context id for errors.62 * @param id Context id63 * @return Error code.64 */65 static inline int hound_context_id_err(hound_context_id_t id)66 {67 return id > 0 ? EOK : (id == 0 ? ENOENT : id);68 }69 70 60 hound_sess_t *hound_service_connect(const char *service); 71 61 void hound_service_disconnect(hound_sess_t *sess); 72 62 73 hound_context_id_t hound_service_register_context(hound_sess_t *sess,74 const char *name, bool record );63 int hound_service_register_context(hound_sess_t *sess, 64 const char *name, bool record, hound_context_id_t *id); 75 65 int hound_service_unregister_context(hound_sess_t *sess, hound_context_id_t id); 76 66
Note:
See TracChangeset
for help on using the changeset viewer.