Ignore:
Timestamp:
2013-03-17T19:09:56Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6bd0216
Parents:
bd5860f
Message:

libhound: Make protocol.h public, add server side iface skeleton.

Implement few more client side functions.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/lib/hound/include/hound/protocol.h

    rbd5860f rb66d43b  
    4949
    5050hound_context_id_t hound_service_register_context(hound_sess_t *sess,
    51     const char *name);
     51    const char *name, bool record);
    5252int hound_service_unregister_context(hound_sess_t *sess, hound_context_id_t id);
    5353
     
    6060int hound_service_stream_read(async_exch_t *exch, void *data, size_t size);
    6161
     62/* Server */
     63typedef struct hound_server_iface {
     64        int (*add_context)(void *, hound_context_id_t *, const char *, bool);
     65        int (*rem_context)(void *, hound_context_id_t);
     66        int (*add_stream)(void *, hound_context_id_t, int, pcm_format_t, size_t,
     67            void **);
     68        int (*rem_stream)(void *, void *);
     69        int (*stream_data_write)(void *, const void *, size_t);
     70        int (*stream_data_read)(void *, void *, size_t);
     71        void *server;
     72} hound_server_iface_t;
     73
     74void hound_service_set_server_iface(hound_server_iface_t *iface);
     75
     76void hound_connection_handler(ipc_callid_t iid, ipc_call_t *icall, void *arg);
    6277
    6378#endif
Note: See TracChangeset for help on using the changeset viewer.