home *** CD-ROM | disk | FTP | other *** search
/ PC World 2005 June / PCWorld_2005-06_cd.bin / software / vyzkuste / firewally / firewally.exe / framework-2.3.exe / itclDecls.h < prev    next >
C/C++ Source or Header  |  2003-09-01  |  9KB  |  264 lines

  1. /*
  2.  * itclDecls.h --
  3.  *
  4.  *    Declarations of functions in the platform independent public Itcl API.
  5.  *
  6.  * Copyright (c) 1998-1999 by XXXX
  7.  *
  8.  * See the file "license.terms" for information on usage and redistribution
  9.  * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
  10.  *
  11.  * RCS: $Id: itclDecls.h,v 1.2 2000/08/04 22:11:50 davidg Exp $
  12.  */
  13.  
  14. #ifndef _ITCLDECLS
  15. #define _ITCLDECLS
  16.  
  17. /*
  18.  * WARNING: This file is automatically generated by the tools/genStubs.tcl
  19.  * script.  Any modifications to the function declarations below should be made
  20.  * in the itcl/generic/tcl.decls script.
  21.  */
  22.  
  23. /* !BEGIN!: Do not edit below this line. */
  24.  
  25. /*
  26.  * Exported function declarations:
  27.  */
  28.  
  29. /* 0 */
  30. EXTERN int        Itcl_Init _ANSI_ARGS_((Tcl_Interp * interp));
  31. /* 1 */
  32. EXTERN int        Itcl_SafeInit _ANSI_ARGS_((Tcl_Interp * interp));
  33. /* 2 */
  34. EXTERN int        Itcl_RegisterC _ANSI_ARGS_((Tcl_Interp * interp, 
  35.                 char * name, Tcl_CmdProc * proc, 
  36.                 ClientData clientData, 
  37.                 Tcl_CmdDeleteProc * deleteProc));
  38. /* 3 */
  39. EXTERN int        Itcl_RegisterObjC _ANSI_ARGS_((Tcl_Interp * interp, 
  40.                 char * name, Tcl_ObjCmdProc * proc, 
  41.                 ClientData clientData, 
  42.                 Tcl_CmdDeleteProc * deleteProc));
  43. /* 4 */
  44. EXTERN int        Itcl_FindC _ANSI_ARGS_((Tcl_Interp * interp, 
  45.                 char * name, Tcl_CmdProc ** argProcPtr, 
  46.                 Tcl_ObjCmdProc ** objProcPtr, 
  47.                 ClientData * cDataPtr));
  48. /* 5 */
  49. EXTERN void        Itcl_InitStack _ANSI_ARGS_((Itcl_Stack * stack));
  50. /* 6 */
  51. EXTERN void        Itcl_DeleteStack _ANSI_ARGS_((Itcl_Stack * stack));
  52. /* 7 */
  53. EXTERN void        Itcl_PushStack _ANSI_ARGS_((ClientData cdata, 
  54.                 Itcl_Stack * stack));
  55. /* 8 */
  56. EXTERN ClientData    Itcl_PopStack _ANSI_ARGS_((Itcl_Stack * stack));
  57. /* 9 */
  58. EXTERN ClientData    Itcl_PeekStack _ANSI_ARGS_((Itcl_Stack * stack));
  59. /* 10 */
  60. EXTERN ClientData    Itcl_GetStackValue _ANSI_ARGS_((Itcl_Stack * stack, 
  61.                 int pos));
  62. /* 11 */
  63. EXTERN void        Itcl_InitList _ANSI_ARGS_((Itcl_List * listPtr));
  64. /* 12 */
  65. EXTERN void        Itcl_DeleteList _ANSI_ARGS_((Itcl_List * listPtr));
  66. /* 13 */
  67. EXTERN Itcl_ListElem*    Itcl_CreateListElem _ANSI_ARGS_((Itcl_List * listPtr));
  68. /* 14 */
  69. EXTERN Itcl_ListElem*    Itcl_DeleteListElem _ANSI_ARGS_((
  70.                 Itcl_ListElem * elemPtr));
  71. /* 15 */
  72. EXTERN Itcl_ListElem*    Itcl_InsertList _ANSI_ARGS_((Itcl_List * listPtr, 
  73.                 ClientData val));
  74. /* 16 */
  75. EXTERN Itcl_ListElem*    Itcl_InsertListElem _ANSI_ARGS_((Itcl_ListElem * pos, 
  76.                 ClientData val));
  77. /* 17 */
  78. EXTERN Itcl_ListElem*    Itcl_AppendList _ANSI_ARGS_((Itcl_List * listPtr, 
  79.                 ClientData val));
  80. /* 18 */
  81. EXTERN Itcl_ListElem*    Itcl_AppendListElem _ANSI_ARGS_((Itcl_ListElem * pos, 
  82.                 ClientData val));
  83. /* 19 */
  84. EXTERN void        Itcl_SetListValue _ANSI_ARGS_((
  85.                 Itcl_ListElem * elemPtr, ClientData val));
  86. /* 20 */
  87. EXTERN void        Itcl_EventuallyFree _ANSI_ARGS_((ClientData cdata, 
  88.                 Tcl_FreeProc * fproc));
  89. /* 21 */
  90. EXTERN void        Itcl_PreserveData _ANSI_ARGS_((ClientData cdata));
  91. /* 22 */
  92. EXTERN void        Itcl_ReleaseData _ANSI_ARGS_((ClientData cdata));
  93. /* 23 */
  94. EXTERN Itcl_InterpState     Itcl_SaveInterpState _ANSI_ARGS_((
  95.                 Tcl_Interp* interp, int status));
  96. /* 24 */
  97. EXTERN int        Itcl_RestoreInterpState _ANSI_ARGS_((
  98.                 Tcl_Interp* interp, Itcl_InterpState state));
  99. /* 25 */
  100. EXTERN void        Itcl_DiscardInterpState _ANSI_ARGS_((
  101.                 Itcl_InterpState state));
  102.  
  103. typedef struct ItclStubHooks {
  104.     struct ItclIntStubs *itclIntStubs;
  105. } ItclStubHooks;
  106.  
  107. typedef struct ItclStubs {
  108.     int magic;
  109.     struct ItclStubHooks *hooks;
  110.  
  111.     int (*itcl_Init) _ANSI_ARGS_((Tcl_Interp * interp)); /* 0 */
  112.     int (*itcl_SafeInit) _ANSI_ARGS_((Tcl_Interp * interp)); /* 1 */
  113.     int (*itcl_RegisterC) _ANSI_ARGS_((Tcl_Interp * interp, char * name, Tcl_CmdProc * proc, ClientData clientData, Tcl_CmdDeleteProc * deleteProc)); /* 2 */
  114.     int (*itcl_RegisterObjC) _ANSI_ARGS_((Tcl_Interp * interp, char * name, Tcl_ObjCmdProc * proc, ClientData clientData, Tcl_CmdDeleteProc * deleteProc)); /* 3 */
  115.     int (*itcl_FindC) _ANSI_ARGS_((Tcl_Interp * interp, char * name, Tcl_CmdProc ** argProcPtr, Tcl_ObjCmdProc ** objProcPtr, ClientData * cDataPtr)); /* 4 */
  116.     void (*itcl_InitStack) _ANSI_ARGS_((Itcl_Stack * stack)); /* 5 */
  117.     void (*itcl_DeleteStack) _ANSI_ARGS_((Itcl_Stack * stack)); /* 6 */
  118.     void (*itcl_PushStack) _ANSI_ARGS_((ClientData cdata, Itcl_Stack * stack)); /* 7 */
  119.     ClientData (*itcl_PopStack) _ANSI_ARGS_((Itcl_Stack * stack)); /* 8 */
  120.     ClientData (*itcl_PeekStack) _ANSI_ARGS_((Itcl_Stack * stack)); /* 9 */
  121.     ClientData (*itcl_GetStackValue) _ANSI_ARGS_((Itcl_Stack * stack, int pos)); /* 10 */
  122.     void (*itcl_InitList) _ANSI_ARGS_((Itcl_List * listPtr)); /* 11 */
  123.     void (*itcl_DeleteList) _ANSI_ARGS_((Itcl_List * listPtr)); /* 12 */
  124.     Itcl_ListElem* (*itcl_CreateListElem) _ANSI_ARGS_((Itcl_List * listPtr)); /* 13 */
  125.     Itcl_ListElem* (*itcl_DeleteListElem) _ANSI_ARGS_((Itcl_ListElem * elemPtr)); /* 14 */
  126.     Itcl_ListElem* (*itcl_InsertList) _ANSI_ARGS_((Itcl_List * listPtr, ClientData val)); /* 15 */
  127.     Itcl_ListElem* (*itcl_InsertListElem) _ANSI_ARGS_((Itcl_ListElem * pos, ClientData val)); /* 16 */
  128.     Itcl_ListElem* (*itcl_AppendList) _ANSI_ARGS_((Itcl_List * listPtr, ClientData val)); /* 17 */
  129.     Itcl_ListElem* (*itcl_AppendListElem) _ANSI_ARGS_((Itcl_ListElem * pos, ClientData val)); /* 18 */
  130.     void (*itcl_SetListValue) _ANSI_ARGS_((Itcl_ListElem * elemPtr, ClientData val)); /* 19 */
  131.     void (*itcl_EventuallyFree) _ANSI_ARGS_((ClientData cdata, Tcl_FreeProc * fproc)); /* 20 */
  132.     void (*itcl_PreserveData) _ANSI_ARGS_((ClientData cdata)); /* 21 */
  133.     void (*itcl_ReleaseData) _ANSI_ARGS_((ClientData cdata)); /* 22 */
  134.     Itcl_InterpState (*itcl_SaveInterpState) _ANSI_ARGS_((Tcl_Interp* interp, int status)); /* 23 */
  135.     int (*itcl_RestoreInterpState) _ANSI_ARGS_((Tcl_Interp* interp, Itcl_InterpState state)); /* 24 */
  136.     void (*itcl_DiscardInterpState) _ANSI_ARGS_((Itcl_InterpState state)); /* 25 */
  137. } ItclStubs;
  138.  
  139. #ifdef __cplusplus
  140. extern "C" {
  141. #endif
  142. extern ItclStubs *itclStubsPtr;
  143. #ifdef __cplusplus
  144. }
  145. #endif
  146.  
  147. #if defined(USE_ITCL_STUBS) && !defined(USE_ITCL_STUB_PROCS)
  148.  
  149. /*
  150.  * Inline function declarations:
  151.  */
  152.  
  153. #ifndef Itcl_Init
  154. #define Itcl_Init \
  155.     (itclStubsPtr->itcl_Init) /* 0 */
  156. #endif
  157. #ifndef Itcl_SafeInit
  158. #define Itcl_SafeInit \
  159.     (itclStubsPtr->itcl_SafeInit) /* 1 */
  160. #endif
  161. #ifndef Itcl_RegisterC
  162. #define Itcl_RegisterC \
  163.     (itclStubsPtr->itcl_RegisterC) /* 2 */
  164. #endif
  165. #ifndef Itcl_RegisterObjC
  166. #define Itcl_RegisterObjC \
  167.     (itclStubsPtr->itcl_RegisterObjC) /* 3 */
  168. #endif
  169. #ifndef Itcl_FindC
  170. #define Itcl_FindC \
  171.     (itclStubsPtr->itcl_FindC) /* 4 */
  172. #endif
  173. #ifndef Itcl_InitStack
  174. #define Itcl_InitStack \
  175.     (itclStubsPtr->itcl_InitStack) /* 5 */
  176. #endif
  177. #ifndef Itcl_DeleteStack
  178. #define Itcl_DeleteStack \
  179.     (itclStubsPtr->itcl_DeleteStack) /* 6 */
  180. #endif
  181. #ifndef Itcl_PushStack
  182. #define Itcl_PushStack \
  183.     (itclStubsPtr->itcl_PushStack) /* 7 */
  184. #endif
  185. #ifndef Itcl_PopStack
  186. #define Itcl_PopStack \
  187.     (itclStubsPtr->itcl_PopStack) /* 8 */
  188. #endif
  189. #ifndef Itcl_PeekStack
  190. #define Itcl_PeekStack \
  191.     (itclStubsPtr->itcl_PeekStack) /* 9 */
  192. #endif
  193. #ifndef Itcl_GetStackValue
  194. #define Itcl_GetStackValue \
  195.     (itclStubsPtr->itcl_GetStackValue) /* 10 */
  196. #endif
  197. #ifndef Itcl_InitList
  198. #define Itcl_InitList \
  199.     (itclStubsPtr->itcl_InitList) /* 11 */
  200. #endif
  201. #ifndef Itcl_DeleteList
  202. #define Itcl_DeleteList \
  203.     (itclStubsPtr->itcl_DeleteList) /* 12 */
  204. #endif
  205. #ifndef Itcl_CreateListElem
  206. #define Itcl_CreateListElem \
  207.     (itclStubsPtr->itcl_CreateListElem) /* 13 */
  208. #endif
  209. #ifndef Itcl_DeleteListElem
  210. #define Itcl_DeleteListElem \
  211.     (itclStubsPtr->itcl_DeleteListElem) /* 14 */
  212. #endif
  213. #ifndef Itcl_InsertList
  214. #define Itcl_InsertList \
  215.     (itclStubsPtr->itcl_InsertList) /* 15 */
  216. #endif
  217. #ifndef Itcl_InsertListElem
  218. #define Itcl_InsertListElem \
  219.     (itclStubsPtr->itcl_InsertListElem) /* 16 */
  220. #endif
  221. #ifndef Itcl_AppendList
  222. #define Itcl_AppendList \
  223.     (itclStubsPtr->itcl_AppendList) /* 17 */
  224. #endif
  225. #ifndef Itcl_AppendListElem
  226. #define Itcl_AppendListElem \
  227.     (itclStubsPtr->itcl_AppendListElem) /* 18 */
  228. #endif
  229. #ifndef Itcl_SetListValue
  230. #define Itcl_SetListValue \
  231.     (itclStubsPtr->itcl_SetListValue) /* 19 */
  232. #endif
  233. #ifndef Itcl_EventuallyFree
  234. #define Itcl_EventuallyFree \
  235.     (itclStubsPtr->itcl_EventuallyFree) /* 20 */
  236. #endif
  237. #ifndef Itcl_PreserveData
  238. #define Itcl_PreserveData \
  239.     (itclStubsPtr->itcl_PreserveData) /* 21 */
  240. #endif
  241. #ifndef Itcl_ReleaseData
  242. #define Itcl_ReleaseData \
  243.     (itclStubsPtr->itcl_ReleaseData) /* 22 */
  244. #endif
  245. #ifndef Itcl_SaveInterpState
  246. #define Itcl_SaveInterpState \
  247.     (itclStubsPtr->itcl_SaveInterpState) /* 23 */
  248. #endif
  249. #ifndef Itcl_RestoreInterpState
  250. #define Itcl_RestoreInterpState \
  251.     (itclStubsPtr->itcl_RestoreInterpState) /* 24 */
  252. #endif
  253. #ifndef Itcl_DiscardInterpState
  254. #define Itcl_DiscardInterpState \
  255.     (itclStubsPtr->itcl_DiscardInterpState) /* 25 */
  256. #endif
  257.  
  258. #endif /* defined(USE_ITCL_STUBS) && !defined(USE_ITCL_STUB_PROCS) */
  259.  
  260. /* !END!: Do not edit above this line. */
  261.  
  262. #endif /* _ITCLDECLS */
  263.  
  264.