aboutsummaryrefslogtreecommitdiffstats
path: root/src/location-manual.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/location-manual.h')
-rw-r--r--src/location-manual.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/location-manual.h b/src/location-manual.h
index 9c763ac..13c77da 100644
--- a/src/location-manual.h
+++ b/src/location-manual.h
@@ -20,6 +20,8 @@
#ifndef _REDSHIFT_LOCATION_MANUAL_H
#define _REDSHIFT_LOCATION_MANUAL_H
+#include <stdio.h>
+
typedef struct {
float lat;
@@ -27,9 +29,14 @@ typedef struct {
} location_manual_state_t;
-int location_manual_init(location_manual_state_t *state, char *args);
+int location_manual_init(location_manual_state_t *state);
+int location_manual_start(location_manual_state_t *state);
void location_manual_free(location_manual_state_t *state);
+
void location_manual_print_help(FILE *f);
+int location_manual_set_option(location_manual_state_t *state,
+ const char *key, const char *value);
+
int location_manual_get_location(location_manual_state_t *state, float *lat,
float *lon);