aboutsummaryrefslogtreecommitdiffstats
path: root/include/gen.h
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2014-02-09 13:51:38 +0100
committerPaul Kocialkowski <contact@paulk.fr>2014-02-09 13:51:38 +0100
commit828f125ee5957ee3f64d45329f5ac261a2a3c1a7 (patch)
tree7cb2c2433a4fae20f660dd60819350034ea1ebeb /include/gen.h
parent6cb0b59e3f0a7b8f2c9690b7e8d171d88d000270 (diff)
downloadexternal_libsamsung-ipc-828f125ee5957ee3f64d45329f5ac261a2a3c1a7.zip
external_libsamsung-ipc-828f125ee5957ee3f64d45329f5ac261a2a3c1a7.tar.gz
external_libsamsung-ipc-828f125ee5957ee3f64d45329f5ac261a2a3c1a7.tar.bz2
Consistent coding style in helpers
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'include/gen.h')
-rw-r--r--include/gen.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/gen.h b/include/gen.h
index 49e6f4a..8013df6 100644
--- a/include/gen.h
+++ b/include/gen.h
@@ -2,7 +2,7 @@
* This file is part of libsamsung-ipc.
*
* Copyright (C) 2010-2011 Joerie de Gram <j.de.gram@gmail.com>
- * Copyright (C) 2011-2013 Paul Kocialkowski <contact@paulk.fr>
+ * Copyright (C) 2011-2014 Paul Kocialkowski <contact@paulk.fr>
*
* libsamsung-ipc is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -30,6 +30,12 @@
#define IPC_GEN_PHONE_RES 0x8001
/*
+ * Values
+ */
+
+#define IPC_GEN_PHONE_RES_CODE_SUCCESS 0x8000
+
+/*
* Structures
*/
@@ -44,7 +50,7 @@ struct ipc_gen_phone_res_data {
* Helpers
*/
-int ipc_gen_phone_res_check(struct ipc_gen_phone_res_data *res);
+int ipc_gen_phone_res_check(const struct ipc_gen_phone_res_data *data);
#endif