aboutsummaryrefslogtreecommitdiffstats
path: root/src/redshift.h
diff options
context:
space:
mode:
authorJon Lund Steffensen <jonlst@gmail.com>2014-12-28 19:26:29 -0500
committerJon Lund Steffensen <jonlst@gmail.com>2014-12-28 19:26:29 -0500
commit59023d86f4275128751bcb84ecda5a630bf51857 (patch)
treeff9f17eba3bdfec0fac22332e1689a93b33209bb /src/redshift.h
parentREADME: Add flattr button at the end (diff)
parentredshift.1: Add description of hooks in man page (diff)
downloadredshift-ng-59023d86f4275128751bcb84ecda5a630bf51857.tar.gz
redshift-ng-59023d86f4275128751bcb84ecda5a630bf51857.tar.bz2
redshift-ng-59023d86f4275128751bcb84ecda5a630bf51857.tar.xz
Merge branch 'hooks-dir'
Diffstat (limited to 'src/redshift.h')
-rw-r--r--src/redshift.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/redshift.h b/src/redshift.h
index e8be4e6..5f4335c 100644
--- a/src/redshift.h
+++ b/src/redshift.h
@@ -24,6 +24,15 @@
#include <stdlib.h>
+/* Periods of day. */
+typedef enum {
+ PERIOD_NONE = 0,
+ PERIOD_DAYTIME,
+ PERIOD_NIGHT,
+ PERIOD_TRANSITION
+} period_t;
+
+
/* Color setting */
typedef struct {
int temperature;