diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2013-06-25 16:22:19 +0200 |
---|---|---|
committer | Paul Kocialkowski <contact@paulk.fr> | 2013-06-25 16:22:19 +0200 |
commit | 9d1137d9197552439af937fee4b9ec5368f562bf (patch) | |
tree | ea7fc5e6a73761d414daa9f09eadf05a5937bb89 /include/ss.h | |
parent | e207275718352c781c5ddcfdd1015fde36259e9b (diff) | |
download | external_libsamsung-ipc-9d1137d9197552439af937fee4b9ec5368f562bf.zip external_libsamsung-ipc-9d1137d9197552439af937fee4b9ec5368f562bf.tar.gz external_libsamsung-ipc-9d1137d9197552439af937fee4b9ec5368f562bf.tar.bz2 |
Drop support for the (incomplete) old protocol implementation used on H1.
Also refactor headers: values aligned to 16x4 spaces and other cosmetics
Change-Id: I5a6f2c2471599c88c4be74591117d0ab2dfaaddf
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'include/ss.h')
-rw-r--r-- | include/ss.h | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/include/ss.h b/include/ss.h index 3e483d0..9ecc0f0 100644 --- a/include/ss.h +++ b/include/ss.h @@ -1,8 +1,8 @@ -/** +/* * This file is part of libsamsung-ipc. * - * Copyright (C) 2010-2011 Joerie de Gram <j.de.gram@gmail.com> * Copyright (C) 2012 Paul Kocialkowski <contact@oaulk.fr> + * Copyright (C) 2010-2011 Joerie de Gram <j.de.gram@gmail.com> * * 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 @@ -19,8 +19,14 @@ * */ -#ifndef __SS_H__ -#define __SS_H__ +#include <samsung-ipc.h> + +#ifndef __SAMSUNG_IPC_SS_H__ +#define __SAMSUNG_IPC_SS_H__ + +/* + * Types + */ #define IPC_SS_WAITING 0x0C01 #define IPC_SS_CLI 0x0C02 @@ -33,6 +39,10 @@ #define IPC_SS_AOC 0x0C09 #define IPC_SS_RELEASE_COMPLETE 0x0C0A +/* + * Values + */ + #define IPC_SS_USSD_NO_ACTION_REQUIRE 0x01 #define IPC_SS_USSD_ACTION_REQUIRE 0x02 #define IPC_SS_USSD_TERMINATED_BY_NET 0x03 @@ -41,8 +51,10 @@ #define IPC_SS_USSD_TIME_OUT 0x06 //guess /* - * This is followed by the encoded (according to the dcs) bytes of the USSD message. + * Structures */ + +/* This is followed by the encoded (according to the dcs) bytes of the USSD message */ struct ipc_ss_ussd { unsigned char state; unsigned char dcs; |