ICEutil.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031 #ifndef _ICEUTIL_H_
00032 #define _ICEUTIL_H_
00033
00034 #include <stdio.h>
00035
00036
00037
00038
00039
00040 typedef struct {
00041 char *protocol_name;
00042 unsigned short protocol_data_length;
00043 char *protocol_data;
00044 char *network_id;
00045 char *auth_name;
00046 unsigned short auth_data_length;
00047 char *auth_data;
00048 } IceAuthFileEntry;
00049
00050
00051
00052
00053
00054
00055 typedef struct {
00056 char *protocol_name;
00057 char *network_id;
00058 char *auth_name;
00059 unsigned short auth_data_length;
00060 char *auth_data;
00061 } IceAuthDataEntry;
00062
00063
00064
00065
00066
00067
00068 #define IceAuthLockSuccess 0
00069 #define IceAuthLockError 1
00070 #define IceAuthLockTimeout 2
00071
00072
00073
00074
00075
00076
00077 #define IceAuthFileName KDE_IceAuthFileName
00078
00079 extern char *IceAuthFileName (
00080 #if NeedFunctionPrototypes
00081 void
00082 #endif
00083 );
00084
00085 #define IceLockAuthFile KDE_IceLockAuthFile
00086
00087 extern int IceLockAuthFile (
00088 #if NeedFunctionPrototypes
00089 char * ,
00090 int ,
00091 int ,
00092 long
00093 #endif
00094 );
00095
00096 #define IceUnlockAuthFile KDE_IceUnlockAuthFile
00097
00098 extern void IceUnlockAuthFile (
00099 #if NeedFunctionPrototypes
00100 char *
00101 #endif
00102 );
00103
00104 #define IceReadAuthFileEntry KDE_IceReadAuthFileEntry
00105
00106 extern IceAuthFileEntry *IceReadAuthFileEntry (
00107 #if NeedFunctionPrototypes
00108 FILE *
00109 #endif
00110 );
00111
00112 #define IceFreeAuthFileEntry KDE_IceFreeAuthFileEntry
00113
00114 extern void IceFreeAuthFileEntry (
00115 #if NeedFunctionPrototypes
00116 IceAuthFileEntry *
00117 #endif
00118 );
00119
00120 #define IceWriteAuthFileEntry KDE_IceWriteAuthFileEntry
00121
00122 extern Status KDE_IceWriteAuthFileEntry (
00123 #if NeedFunctionPrototypes
00124 FILE * ,
00125 IceAuthFileEntry *
00126 #endif
00127 );
00128
00129 #define IceGetAuthFileEntry KDE_IceGetAuthFileEntry
00130
00131 extern IceAuthFileEntry *IceGetAuthFileEntry (
00132 #if NeedFunctionPrototypes
00133 const char * ,
00134 const char * ,
00135 const char *
00136 #endif
00137 );
00138
00139 #define IceGenerateMagicCookie KDE_IceGenerateMagicCookie
00140
00141 extern char *IceGenerateMagicCookie (
00142 #if NeedFunctionPrototypes
00143 int
00144 #endif
00145 );
00146
00147 #define IceSetPaAuthData KDE_IceSetPaAuthData
00148
00149 extern void IceSetPaAuthData (
00150 #if NeedFunctionPrototypes
00151 int ,
00152 IceAuthDataEntry *
00153 #endif
00154 );
00155
00156 #endif
This file is part of the documentation for kdelibs Version 3.1.0.