]> sigrok.org Git - libsigrok.git/blobdiff - proto.h
demo: Adjust to GVariant-based sr_config_* functions
[libsigrok.git] / proto.h
diff --git a/proto.h b/proto.h
index 54cccb1712c2e6d490c6f441d41bad4ae0bc03a0..f993d605d2946942d6f708e2d940a6f1a990f4f5 100644 (file)
--- a/proto.h
+++ b/proto.h
@@ -1,7 +1,7 @@
 /*
  * This file is part of the sigrok project.
  *
- * Copyright (C) 2010-2012 Bert Vermeulen <bert@biot.com>
+ * Copyright (C) 2013 Bert Vermeulen <bert@biot.com>
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -69,11 +69,11 @@ SR_API int sr_driver_init(struct sr_context *ctx,
                struct sr_dev_driver *driver);
 SR_API GSList *sr_driver_scan(struct sr_dev_driver *driver, GSList *options);
 SR_API int sr_config_get(const struct sr_dev_driver *driver, int key,
-               const void **data, const struct sr_dev_inst *sdi);
+               GVariant **data, const struct sr_dev_inst *sdi);
 SR_API int sr_config_set(const struct sr_dev_inst *sdi, int key,
-               const void *value);
+               GVariant *data);
 SR_API int sr_config_list(const struct sr_dev_driver *driver, int key,
-               const void **data, const struct sr_dev_inst *sdi);
+               GVariant **data, const struct sr_dev_inst *sdi);
 SR_API const struct sr_config_info *sr_config_info_get(int key);
 SR_API const struct sr_config_info *sr_config_info_name_get(const char *optname);