aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2014-07-27 22:16:36 +0200
committerPaul Kocialkowski <contact@paulk.fr>2014-07-28 12:14:03 +0200
commit394133a323e2ba2d3f87f5e5e9d9cbbe60b9546d (patch)
treef50457cee0406f7bbea835fd3ba1407ef7549df9 /include
parentdbcd5f77206148c7d446feda48031dde06c480a8 (diff)
downloadexternal_libsamsung-ipc-394133a323e2ba2d3f87f5e5e9d9cbbe60b9546d.zip
external_libsamsung-ipc-394133a323e2ba2d3f87f5e5e9d9cbbe60b9546d.tar.gz
external_libsamsung-ipc-394133a323e2ba2d3f87f5e5e9d9cbbe60b9546d.tar.bz2
GPRS cid count is unsigned integer
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'include')
-rw-r--r--include/samsung-ipc.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/samsung-ipc.h b/include/samsung-ipc.h
index 91300da..c45bd4b 100644
--- a/include/samsung-ipc.h
+++ b/include/samsung-ipc.h
@@ -51,7 +51,7 @@ struct ipc_message {
};
struct ipc_client_gprs_capabilities {
- int cid_count;
+ unsigned int cid_count;
};
/*
@@ -74,8 +74,8 @@ int ipc_client_power_handlers_register(struct ipc_client *client,
int (*power_on)(void *power_data), int (*power_off)(void *power_data),
void *power_data);
int ipc_client_gprs_handlers_register(struct ipc_client *client,
- int (*gprs_activate)(void *gprs_data, int cid),
- int (*gprs_deactivate)(void *gprs_data, int cid), void *gprs_data);
+ int (*gprs_activate)(void *gprs_data, unsigned int cid),
+ int (*gprs_deactivate)(void *gprs_data, unsigned int cid), void *gprs_data);
void ipc_client_log(struct ipc_client *client, const char *message, ...);
int ipc_client_log_callback_register(struct ipc_client *client,
@@ -91,12 +91,12 @@ int ipc_client_close(struct ipc_client *client);
int ipc_client_poll(struct ipc_client *client, struct timeval *timeout);
int ipc_client_power_on(struct ipc_client *client);
int ipc_client_power_off(struct ipc_client *client);
-int ipc_client_gprs_activate(struct ipc_client *client, int cid);
-int ipc_client_gprs_deactivate(struct ipc_client *client, int cid);
+int ipc_client_gprs_activate(struct ipc_client *client, unsigned int cid);
+int ipc_client_gprs_deactivate(struct ipc_client *client, unsigned int cid);
int ipc_client_data_create(struct ipc_client *client);
int ipc_client_data_destroy(struct ipc_client *client);
-char *ipc_client_gprs_get_iface(struct ipc_client *client, int cid);
+char *ipc_client_gprs_get_iface(struct ipc_client *client, unsigned int cid);
int ipc_client_gprs_get_capabilities(struct ipc_client *client,
struct ipc_client_gprs_capabilities *capabilities);