OpenAFS
OpenAFS distributed network file system
|
00001 00002 00003 /* this ALWAYS GENERATED file contains the definitions for the interfaces */ 00004 00005 00006 /* File created by MIDL compiler version 7.00.0500 */ 00007 /* at Sat Aug 18 01:29:34 2012 00008 */ 00009 /* Compiler settings for dbrpc.idl: 00010 Oicf, W1, Zp4, env=Win32 (32b run) 00011 protocol : dce , ms_ext, c_ext 00012 error checks: allocation ref bounds_check enum stub_data 00013 VC __declspec() decoration level: 00014 __declspec(uuid()), __declspec(selectany), __declspec(novtable) 00015 DECLSPEC_UUID(), MIDL_INTERFACE() 00016 */ 00017 //@@MIDL_FILE_HEADING( ) 00018 00019 #pragma warning( disable: 4049 ) /* more than 64k source lines */ 00020 00021 00022 /* verify that the <rpcndr.h> version is high enough to compile this file*/ 00023 #ifndef __REQUIRED_RPCNDR_H_VERSION__ 00024 #define __REQUIRED_RPCNDR_H_VERSION__ 440 00025 #endif 00026 00027 #include "rpc.h" 00028 #include "rpcndr.h" 00029 00030 #ifndef __dbrpc_h__ 00031 #define __dbrpc_h__ 00032 00033 #if defined(_MSC_VER) && (_MSC_VER >= 1020) 00034 #pragma once 00035 #endif 00036 00037 /* Forward Declarations */ 00038 00039 #ifdef __cplusplus 00040 extern "C"{ 00041 #endif 00042 00043 00044 #ifndef __dbrpc_INTERFACE_DEFINED__ 00045 #define __dbrpc_INTERFACE_DEFINED__ 00046 00047 /* interface dbrpc */ 00048 /* [version][uuid] */ 00049 00050 #define OSI_DBRPC_NOENTRY ( 1 ) 00051 00052 #define OSI_DBRPC_EOF ( 2 ) 00053 00054 #define OSI_DBRPC_NOFD ( 3 ) 00055 00056 #define OSI_DBRPC_STRLEN ( 256 ) 00057 00058 #define OSI_DBRPC_NUMINTS ( 32 ) 00059 00060 #define OSI_DBRPC_NUMSTRS ( 8 ) 00061 00062 #define OSI_DBRPC_MUTEXTYPE ( 1 ) 00063 00064 #define OSI_DBRPC_RWLOCKTYPE ( 2 ) 00065 00066 #define OSI_DBRPC_REGIONSTRING ( 0 ) 00067 00068 #define OSI_DBRPC_REGIONINT ( 1 ) 00069 00070 #define OSI_DBRPC_OK ( 0 ) 00071 00072 #define OSI_DBRPC_DONE ( 1 ) 00073 00074 #define OSI_DBRPC_BADFD ( 2 ) 00075 00076 #define OSI_DBRPC_SUPRESSIFZERO ( 1 ) 00077 00078 #define OSI_DBRPC_HEX ( 2 ) 00079 00080 #define OSI_DBRPC_SIGNED ( 4 ) 00081 00082 typedef struct osi_remFormat 00083 { 00084 unsigned char label[ 32 ]; 00085 long format; 00086 } osi_remFormat_t; 00087 00088 typedef struct osi_remHyper 00089 { 00090 unsigned long LowPart; 00091 unsigned long HighPart; 00092 } osi_remHyper_t; 00093 00094 typedef unsigned char osi_remString_t[ 256 ]; 00095 00096 typedef struct osi_remGetInfoParms 00097 { 00098 long icount; 00099 long scount; 00100 __int64 idata[ 32 ]; 00101 osi_remString_t sdata[ 8 ]; 00102 } osi_remGetInfoParms_t; 00103 00104 void dbrpc_Ping( 00105 /* [in] */ handle_t handle); 00106 00107 void dbrpc_Open( 00108 /* [in] */ handle_t handle, 00109 /* [string][in] */ unsigned char *namep, 00110 /* [ref][out] */ osi_remHyper_t *fd, 00111 /* [ref][out] */ long *code); 00112 00113 void dbrpc_GetInfo( 00114 /* [in] */ handle_t handle, 00115 /* [ref][in] */ osi_remHyper_t *fd, 00116 /* [ref][out] */ osi_remGetInfoParms_t *status, 00117 /* [ref][out] */ long *code); 00118 00119 void dbrpc_Close( 00120 /* [in] */ handle_t handle, 00121 /* [ref][in] */ osi_remHyper_t *fd, 00122 /* [ref][out] */ long *code); 00123 00124 void dbrpc_GetFormat( 00125 /* [in] */ handle_t handle, 00126 /* [string][in] */ unsigned char *namep, 00127 /* [in] */ long region, 00128 /* [in] */ long index, 00129 /* [ref][out] */ osi_remFormat_t *formatp, 00130 /* [ref][out] */ long *code); 00131 00132 00133 00134 extern RPC_IF_HANDLE dbrpc_v1_0_c_ifspec; 00135 extern RPC_IF_HANDLE dbrpc_v1_0_s_ifspec; 00136 #endif /* __dbrpc_INTERFACE_DEFINED__ */ 00137 00138 /* Additional Prototypes for ALL interfaces */ 00139 00140 /* end of Additional Prototypes */ 00141 00142 #ifdef __cplusplus 00143 } 00144 #endif 00145 00146 #endif 00147 00148