aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcoopgamma.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-08-04 21:31:36 +0200
committerMattias Andrée <maandree@kth.se>2016-08-04 21:31:36 +0200
commitfb769aeaff23e79e4167823ef2923a7d61807718 (patch)
tree2471635ef0c8f01d1e5ed01c33a704a7f8c926d0 /src/libcoopgamma.h
parentFix bugs (and a tiny improvement) (diff)
downloadlibcoopgamma-fb769aeaff23e79e4167823ef2923a7d61807718.tar.gz
libcoopgamma-fb769aeaff23e79e4167823ef2923a7d61807718.tar.bz2
libcoopgamma-fb769aeaff23e79e4167823ef2923a7d61807718.tar.xz
Add libcoopgamma_skip_message
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/libcoopgamma.h')
-rw-r--r--src/libcoopgamma.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libcoopgamma.h b/src/libcoopgamma.h
index f670afa..1022f1e 100644
--- a/src/libcoopgamma.h
+++ b/src/libcoopgamma.h
@@ -1465,6 +1465,14 @@ LIBCOOPGAMMA_GCC_ONLY(__attribute__((__nonnull__(1, 4), __leaf__)))
int libcoopgamma_synchronise(libcoopgamma_context_t* restrict, libcoopgamma_async_context_t* restrict,
size_t, size_t* restrict);
+/**
+ * Tell the library that you will not be parsing a receive message
+ *
+ * @param ctx The state of the library, must be connected
+ */
+LIBCOOPGAMMA_GCC_ONLY(__attribute__((__nonnull__)))
+void libcoopgamma_skip_message(libcoopgamma_context_t* restrict);
+
/**
* List all available CRTC:s, send request part