aboutsummaryrefslogtreecommitdiffstats
path: root/src/location-manual.h
diff options
context:
space:
mode:
authorJon Lund Steffensen <jonlst@gmail.com>2017-08-16 21:20:06 -0700
committerJon Lund Steffensen <jonlst@gmail.com>2017-08-17 19:52:29 -0700
commit153dec0e21530d52b8ee82f6ec588620ec0857d2 (patch)
treedbfe089e0766447ccf7f594f82f14e11a56bc805 /src/location-manual.h
parentMerge pull request #498 from jonls/osx-travis (diff)
downloadredshift-ng-153dec0e21530d52b8ee82f6ec588620ec0857d2.tar.gz
redshift-ng-153dec0e21530d52b8ee82f6ec588620ec0857d2.tar.bz2
redshift-ng-153dec0e21530d52b8ee82f6ec588620ec0857d2.tar.xz
Change location providers to allow updates
Change location provider implementations so it is possible for location providers to dynamically update the location. This commit adds the interfaces and infrastructure in redshift.c but none of the location provides are changed to become dynamic.
Diffstat (limited to 'src/location-manual.h')
-rw-r--r--src/location-manual.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/location-manual.h b/src/location-manual.h
index e70d9cf..7094e9a 100644
--- a/src/location-manual.h
+++ b/src/location-manual.h
@@ -14,7 +14,7 @@
You should have received a copy of the GNU General Public License
along with Redshift. If not, see <http://www.gnu.org/licenses/>.
- Copyright (c) 2010-2014 Jon Lund Steffensen <jonlst@gmail.com>
+ Copyright (c) 2010-2017 Jon Lund Steffensen <jonlst@gmail.com>
*/
#ifndef REDSHIFT_LOCATION_MANUAL_H
@@ -38,8 +38,9 @@ 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,
- location_t *loc);
+int location_manual_get_fd(location_manual_state_t *state);
+int location_manual_handle(
+ location_manual_state_t *state, location_t *location, int *available);
#endif /* ! REDSHIFT_LOCATION_MANUAL_H */