X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=session.c;h=5723610ff8da923c3c4f2e5a1cbcca6e2c7cdb40;hb=7b870c38e3040fec1165a623ae3986e4fb342218;hp=828c2d346bfadc3d9ec02ec459d9ea4ba24df013;hpb=dfd8f56ef4a0ee1c353db5078d6d7d8b901ec21b;p=libsigrok.git diff --git a/session.c b/session.c index 828c2d34..5723610f 100644 --- a/session.c +++ b/session.c @@ -25,6 +25,14 @@ #include "libsigrok.h" #include "libsigrok-internal.h" +/** + * @defgroup grp_session Session handling + * + * Creating, using, or destroying libsigrok sessions. + * + * @{ + */ + struct source { int timeout; sr_receive_data_callback_t cb; @@ -412,6 +420,8 @@ static void datafeed_dump(struct sr_datafeed_packet *packet) * @param packet The datafeed packet to send to the session bus. * * @return SR_OK upon success, SR_ERR_ARG upon invalid arguments. + * + * @private */ SR_PRIV int sr_session_send(const struct sr_dev_inst *sdi, struct sr_datafeed_packet *packet) @@ -650,3 +660,5 @@ SR_API int sr_session_source_remove_channel(GIOChannel *channel) { return _sr_session_source_remove((gintptr)channel); } + +/** @} */