From 1584a74a4acdfb17aab0d6a2b13b18a7799aa37d Mon Sep 17 00:00:00 2001 From: laforge Date: Sat, 2 Sep 2006 10:32:06 +0000 Subject: first compiling (unfinished, not-working) version of userspace gsm infrastructure git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@40 99fdad57-331a-0410-800a-d7fa5415bdb3 --- src/gsmd/vendorplugin.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/gsmd/vendorplugin.h (limited to 'src/gsmd/vendorplugin.h') diff --git a/src/gsmd/vendorplugin.h b/src/gsmd/vendorplugin.h new file mode 100644 index 0000000..b8be9ba --- /dev/null +++ b/src/gsmd/vendorplugin.h @@ -0,0 +1,29 @@ +#ifndef __GSMD_VENDORPLUG_H +#define __GSMD_VENDORPLUG_H + +#include "gsmd.h" + +/* gsmd vendor-specific plugin */ + +enum gsmd_options { + GSMD_OPT_NONE, + GSMD_OPT_CIPHER_IND, +}; + +/* CIPHER_IND */ +enum gsmd_cipher_ind { + GSMD_CIPHER_IND_OFF, + GSMD_CIPHER_IND_ON, + GSMD_CIPHER_IND_SIM_FORBID, +}; + +struct gsmd_vendorspecific { + /* callback function to parse unknown unsolicited responses */ + int (*parse_unsolicit)(void); + int (*getopt)(struct gsmd *gh, int optname, void *optval, int *optlen); + int (*setopt)(struct gsmd *gh, int optname, const void *optval, int optlen); +}; + +/* ciphering indications */ + +#endif -- cgit v1.2.3