Return to imc_os_state.h CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / strongswan / src / libimcv / plugins / imc_os |
1.1 misho 1: /* 2: * Copyright (C) 2012 Andreas Steffen 3: * HSR Hochschule fuer Technik Rapperswil 4: * 5: * This program is free software; you can redistribute it and/or modify it 6: * under the terms of the GNU General Public License as published by the 7: * Free Software Foundation; either version 2 of the License, or (at your 8: * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>. 9: * 10: * This program is distributed in the hope that it will be useful, but 11: * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 12: * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13: * for more details. 14: */ 15: 16: /** 17: * @defgroup imc_os imc_os 18: * @ingroup libimcv_plugins 19: * 20: * @defgroup imc_os_state_t imc_os_state 21: * @{ @ingroup imc_os 22: */ 23: 24: #ifndef IMC_OS_STATE_H_ 25: #define IMC_OS_STATE_H_ 26: 27: #include <imc/imc_state.h> 28: #include <library.h> 29: 30: typedef struct imc_os_state_t imc_os_state_t; 31: 32: /** 33: * Internal state of an imc_os_t connection instance 34: */ 35: struct imc_os_state_t { 36: 37: /** 38: * imc_state_t interface 39: */ 40: imc_state_t interface; 41: }; 42: 43: /** 44: * Create an imc_os_state_t instance 45: * 46: * @param id connection ID 47: */ 48: imc_state_t* imc_os_state_create(TNC_ConnectionID id); 49: 50: #endif /** IMC_OS_STATE_H_ @}*/