00001 00020 /*************************************************************************** 00021 * * 00022 * This program is free software; you can redistribute it and/or modify * 00023 * it under the terms of the GNU General Public License as published by * 00024 * the Free Software Foundation; either version 2 of the License, or * 00025 * (at your option) any later version. * 00026 * * 00027 ***************************************************************************/ 00028 00029 #ifndef PCAPICOMMODULE_H 00030 #define PCAPICOMMODULE_H 00031 00032 #include <Python.h> 00033 #include "applicationexception.h" 00034 00035 class Connection; 00036 00047 void capisuitemodule_init() throw (ApplicationError); 00048 00058 void capisuitemodule_destruct_connection(void* conn); 00059 00060 #endif 00061 00062 /* History 00063 00064 $Log: capisuitemodule.h,v $ 00065 Revision 1.2 2003/02/25 13:24:21 gernot 00066 - remove old forward declaration 00067 00068 Revision 1.1.1.1 2003/02/19 08:19:53 gernot 00069 initial checkin of 0.4 00070 00071 Revision 1.5 2002/12/07 22:36:21 ghillie 00072 - capisuitemodule_init: doesn't return __main__ any more 00073 00074 Revision 1.4 2002/12/06 12:54:11 ghillie 00075 - removed capisuitemodule_call_gone() (CallGoneException won't be thrown in 00076 from somewhere any more) 00077 - added destruction function for Connection objects 00078 00079 Revision 1.3 2002/12/05 14:50:05 ghillie 00080 - comment improvement 00081 00082 Revision 1.2 2002/12/02 12:26:51 ghillie 00083 - update description to new behaviour of service parameter 00084 00085 Revision 1.1 2002/11/29 11:06:22 ghillie 00086 renamed CapiCom to CapiSuite (name conflict with MS crypto API :-( ) 00087 00088 Revision 1.2 2002/11/29 10:20:44 ghillie 00089 - updated docs, use doxygen format now 00090 00091 Revision 1.1 2002/11/22 15:44:54 ghillie 00092 renamed pcallcontrol.* to capicommodule.* 00093 00094 Revision 1.7 2002/11/18 14:21:07 ghillie 00095 - moved global severity_t to ApplicationError::severity_t 00096 - added throw() declarations to header files 00097 00098 Revision 1.6 2002/11/13 08:34:54 ghillie 00099 moved history to the bottom 00100 00101 Revision 1.5 2002/11/10 17:03:45 ghillie 00102 now CallControl reference is passed directly to the called Pyhton functions 00103 00104 Revision 1.4 2002/11/06 16:16:07 ghillie 00105 added code to raise CallGoneError in any case so the script is cancelled when the call is gone surely 00106 00107 Revision 1.3 2002/10/30 14:25:54 ghillie 00108 added connect,disconnect,reject functions, changed init function to return the module dictionary 00109 00110 Revision 1.2 2002/10/27 12:47:20 ghillie 00111 - added multithread support for python 00112 - changed callcontrol reference to stay in the python namespace 00113 - changed ApplicationError to support differen severity 00114 00115 Revision 1.1 2002/10/25 13:29:38 ghillie 00116 grouped files into subdirectories 00117 00118 Revision 1.3 2002/10/24 09:55:52 ghillie 00119 many fixes. Works for one call now 00120 00121 Revision 1.2 2002/10/23 15:42:11 ghillie 00122 - added standard headers 00123 - changed initialization code (object references now set in extra function) 00124 - added some missing Py_None 00125 00126 */