aboutsummaryrefslogtreecommitdiffstats
path: root/src/coopgamma-server/server.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-07-17 16:42:49 +0200
committerMattias Andrée <maandree@kth.se>2016-07-17 16:42:49 +0200
commit671efca852ff4aefe653579136ee9b43dbc88324 (patch)
tree2b4739606b6b82a4256fbf41668cc7c556748bdf /src/coopgamma-server/server.h
parentRestructure (diff)
downloadcoopgammad-671efca852ff4aefe653579136ee9b43dbc88324.tar.gz
coopgammad-671efca852ff4aefe653579136ee9b43dbc88324.tar.bz2
coopgammad-671efca852ff4aefe653579136ee9b43dbc88324.tar.xz
Continue restructure
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/coopgamma-server/server.h')
-rw-r--r--src/coopgamma-server/server.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/coopgamma-server/server.h b/src/coopgamma-server/server.h
index 971f7df..4e3bed6 100644
--- a/src/coopgamma-server/server.h
+++ b/src/coopgamma-server/server.h
@@ -89,5 +89,13 @@ GCC_ONLY(__attribute__((nonnull)))
int flush_filters(struct output* restrict output, size_t first_updated);
+/**
+ * Preserve current gamma ramps at priority 0 for all outputs
+ *
+ * @return Zero on success, -1 on error
+ */
+int preserve_gamma(void);
+
+
#endif