| 1 | /* |
|---|
| 2 | * Please do not edit this file. |
|---|
| 3 | * It was generated using rpcgen. |
|---|
| 4 | */ |
|---|
| 5 | |
|---|
| 6 | #include <memory.h> /* for memset */ |
|---|
| 7 | #include "fep.h" |
|---|
| 8 | /* RPC CLNT test */ |
|---|
| 9 | |
|---|
| 10 | /* Default timeout can be changed using clnt_control() */ |
|---|
| 11 | static struct timeval TIMEOUT = { 25, 0 }; |
|---|
| 12 | |
|---|
| 13 | int * |
|---|
| 14 | fep_getlineinfocount_32(void *argp, CLIENT *clnt) |
|---|
| 15 | { |
|---|
| 16 | static int clnt_res; |
|---|
| 17 | |
|---|
| 18 | memset((char *)&clnt_res, 0, sizeof(clnt_res)); |
|---|
| 19 | if (clnt_call (clnt, FEP_GETLINEINFOCOUNT, |
|---|
| 20 | (xdrproc_t) xdr_void, (caddr_t) argp, |
|---|
| 21 | (xdrproc_t) xdr_int, (caddr_t) &clnt_res, |
|---|
| 22 | TIMEOUT) != RPC_SUCCESS) { |
|---|
| 23 | return (NULL); |
|---|
| 24 | } |
|---|
| 25 | return (&clnt_res); |
|---|
| 26 | } |
|---|
| 27 | |
|---|
| 28 | lineinfo_ret * |
|---|
| 29 | fep_getlineinfo_32(int *argp, CLIENT *clnt) |
|---|
| 30 | { |
|---|
| 31 | static lineinfo_ret clnt_res; |
|---|
| 32 | |
|---|
| 33 | memset((char *)&clnt_res, 0, sizeof(clnt_res)); |
|---|
| 34 | if (clnt_call (clnt, FEP_GETLINEINFO, |
|---|
| 35 | (xdrproc_t) xdr_int, (caddr_t) argp, |
|---|
| 36 | (xdrproc_t) xdr_lineinfo_ret, (caddr_t) &clnt_res, |
|---|
| 37 | TIMEOUT) != RPC_SUCCESS) { |
|---|
| 38 | return (NULL); |
|---|
| 39 | } |
|---|
| 40 | return (&clnt_res); |
|---|
| 41 | } |
|---|
| 42 | |
|---|
| 43 | lineinfo_ret * |
|---|
| 44 | fep_getlineinfovalue_32(int *argp, CLIENT *clnt) |
|---|
| 45 | { |
|---|
| 46 | static lineinfo_ret clnt_res; |
|---|
| 47 | |
|---|
| 48 | memset((char *)&clnt_res, 0, sizeof(clnt_res)); |
|---|
| 49 | if (clnt_call (clnt, FEP_GETLINEINFOVALUE, |
|---|
| 50 | (xdrproc_t) xdr_int, (caddr_t) argp, |
|---|
| 51 | (xdrproc_t) xdr_lineinfo_ret, (caddr_t) &clnt_res, |
|---|
| 52 | TIMEOUT) != RPC_SUCCESS) { |
|---|
| 53 | return (NULL); |
|---|
| 54 | } |
|---|
| 55 | return (&clnt_res); |
|---|
| 56 | } |
|---|
| 57 | |
|---|
| 58 | lineinfo_ret * |
|---|
| 59 | fep_sendlineinfo_32(fep_lineinfo *argp, CLIENT *clnt) |
|---|
| 60 | { |
|---|
| 61 | static lineinfo_ret clnt_res; |
|---|
| 62 | |
|---|
| 63 | memset((char *)&clnt_res, 0, sizeof(clnt_res)); |
|---|
| 64 | if (clnt_call (clnt, FEP_SENDLINEINFO, |
|---|
| 65 | (xdrproc_t) xdr_fep_lineinfo, (caddr_t) argp, |
|---|
| 66 | (xdrproc_t) xdr_lineinfo_ret, (caddr_t) &clnt_res, |
|---|
| 67 | TIMEOUT) != RPC_SUCCESS) { |
|---|
| 68 | return (NULL); |
|---|
| 69 | } |
|---|
| 70 | return (&clnt_res); |
|---|
| 71 | } |
|---|
| 72 | |
|---|
| 73 | std_time_ret * |
|---|
| 74 | fep_gettime_32(void *argp, CLIENT *clnt) |
|---|
| 75 | { |
|---|
| 76 | static std_time_ret clnt_res; |
|---|
| 77 | |
|---|
| 78 | memset((char *)&clnt_res, 0, sizeof(clnt_res)); |
|---|
| 79 | if (clnt_call (clnt, FEP_GETTIME, |
|---|
| 80 | (xdrproc_t) xdr_void, (caddr_t) argp, |
|---|
| 81 | (xdrproc_t) xdr_std_time_ret, (caddr_t) &clnt_res, |
|---|
| 82 | TIMEOUT) != RPC_SUCCESS) { |
|---|
| 83 | return (NULL); |
|---|
| 84 | } |
|---|
| 85 | return (&clnt_res); |
|---|
| 86 | } |
|---|
| 87 | |
|---|
| 88 | std_time_ret * |
|---|
| 89 | fep_settime_32(fep_std_time *argp, CLIENT *clnt) |
|---|
| 90 | { |
|---|
| 91 | static std_time_ret clnt_res; |
|---|
| 92 | |
|---|
| 93 | memset((char *)&clnt_res, 0, sizeof(clnt_res)); |
|---|
| 94 | if (clnt_call (clnt, FEP_SETTIME, |
|---|
| 95 | (xdrproc_t) xdr_fep_std_time, (caddr_t) argp, |
|---|
| 96 | (xdrproc_t) xdr_std_time_ret, (caddr_t) &clnt_res, |
|---|
| 97 | TIMEOUT) != RPC_SUCCESS) { |
|---|
| 98 | return (NULL); |
|---|
| 99 | } |
|---|
| 100 | return (&clnt_res); |
|---|
| 101 | } |
|---|
| 102 | |
|---|
| 103 | std_time_ret * |
|---|
| 104 | fep_advancetime_32(int *argp, CLIENT *clnt) |
|---|
| 105 | { |
|---|
| 106 | static std_time_ret clnt_res; |
|---|
| 107 | |
|---|
| 108 | memset((char *)&clnt_res, 0, sizeof(clnt_res)); |
|---|
| 109 | if (clnt_call (clnt, FEP_ADVANCETIME, |
|---|
| 110 | (xdrproc_t) xdr_int, (caddr_t) argp, |
|---|
| 111 | (xdrproc_t) xdr_std_time_ret, (caddr_t) &clnt_res, |
|---|
| 112 | TIMEOUT) != RPC_SUCCESS) { |
|---|
| 113 | return (NULL); |
|---|
| 114 | } |
|---|
| 115 | return (&clnt_res); |
|---|
| 116 | } |
|---|
| 117 | |
|---|
| 118 | int * |
|---|
| 119 | fep_getschedulecount_32(void *argp, CLIENT *clnt) |
|---|
| 120 | { |
|---|
| 121 | static int clnt_res; |
|---|
| 122 | |
|---|
| 123 | memset((char *)&clnt_res, 0, sizeof(clnt_res)); |
|---|
| 124 | if (clnt_call (clnt, FEP_GETSCHEDULECOUNT, |
|---|
| 125 | (xdrproc_t) xdr_void, (caddr_t) argp, |
|---|
| 126 | (xdrproc_t) xdr_int, (caddr_t) &clnt_res, |
|---|
| 127 | TIMEOUT) != RPC_SUCCESS) { |
|---|
| 128 | return (NULL); |
|---|
| 129 | } |
|---|
| 130 | return (&clnt_res); |
|---|
| 131 | } |
|---|
| 132 | |
|---|
| 133 | schedule_ret * |
|---|
| 134 | fep_getschedule_32(int *argp, CLIENT *clnt) |
|---|
| 135 | { |
|---|
| 136 | static schedule_ret clnt_res; |
|---|
| 137 | |
|---|
| 138 | memset((char *)&clnt_res, 0, sizeof(clnt_res)); |
|---|
| 139 | if (clnt_call (clnt, FEP_GETSCHEDULE, |
|---|
| 140 | (xdrproc_t) xdr_int, (caddr_t) argp, |
|---|
| 141 | (xdrproc_t) xdr_schedule_ret, (caddr_t) &clnt_res, |
|---|
| 142 | TIMEOUT) != RPC_SUCCESS) { |
|---|
| 143 | return (NULL); |
|---|
| 144 | } |
|---|
| 145 | return (&clnt_res); |
|---|
| 146 | } |
|---|
| 147 | |
|---|
| 148 | schedule_ret * |
|---|
| 149 | fep_getschedulevalue_32(int *argp, CLIENT *clnt) |
|---|
| 150 | { |
|---|
| 151 | static schedule_ret clnt_res; |
|---|
| 152 | |
|---|
| 153 | memset((char *)&clnt_res, 0, sizeof(clnt_res)); |
|---|
| 154 | if (clnt_call (clnt, FEP_GETSCHEDULEVALUE, |
|---|
| 155 | (xdrproc_t) xdr_int, (caddr_t) argp, |
|---|
| 156 | (xdrproc_t) xdr_schedule_ret, (caddr_t) &clnt_res, |
|---|
| 157 | TIMEOUT) != RPC_SUCCESS) { |
|---|
| 158 | return (NULL); |
|---|
| 159 | } |
|---|
| 160 | return (&clnt_res); |
|---|
| 161 | } |
|---|
| 162 | |
|---|
| 163 | schedule_ret * |
|---|
| 164 | fep_sendschedule_32(fep_schedule *argp, CLIENT *clnt) |
|---|
| 165 | { |
|---|
| 166 | static schedule_ret clnt_res; |
|---|
| 167 | |
|---|
| 168 | memset((char *)&clnt_res, 0, sizeof(clnt_res)); |
|---|
| 169 | if (clnt_call (clnt, FEP_SENDSCHEDULE, |
|---|
| 170 | (xdrproc_t) xdr_fep_schedule, (caddr_t) argp, |
|---|
| 171 | (xdrproc_t) xdr_schedule_ret, (caddr_t) &clnt_res, |
|---|
| 172 | TIMEOUT) != RPC_SUCCESS) { |
|---|
| 173 | return (NULL); |
|---|
| 174 | } |
|---|
| 175 | return (&clnt_res); |
|---|
| 176 | } |
|---|
| 177 | |
|---|
| 178 | errorstatus * |
|---|
| 179 | fep_setlinemgr_schedule_32(fep_setschedule *argp, CLIENT *clnt) |
|---|
| 180 | { |
|---|
| 181 | static errorstatus clnt_res; |
|---|
| 182 | |
|---|
| 183 | memset((char *)&clnt_res, 0, sizeof(clnt_res)); |
|---|
| 184 | if (clnt_call (clnt, FEP_SETLINEMGR_SCHEDULE, |
|---|
| 185 | (xdrproc_t) xdr_fep_setschedule, (caddr_t) argp, |
|---|
| 186 | (xdrproc_t) xdr_errorstatus, (caddr_t) &clnt_res, |
|---|
| 187 | TIMEOUT) != RPC_SUCCESS) { |
|---|
| 188 | return (NULL); |
|---|
| 189 | } |
|---|
| 190 | return (&clnt_res); |
|---|
| 191 | } |
|---|
| 192 | |
|---|
| 193 | errorstatus * |
|---|
| 194 | fep_free_schedule_32(int *argp, CLIENT *clnt) |
|---|
| 195 | { |
|---|
| 196 | static errorstatus clnt_res; |
|---|
| 197 | |
|---|
| 198 | memset((char *)&clnt_res, 0, sizeof(clnt_res)); |
|---|
| 199 | if (clnt_call (clnt, FEP_FREE_SCHEDULE, |
|---|
| 200 | (xdrproc_t) xdr_int, (caddr_t) argp, |
|---|
| 201 | (xdrproc_t) xdr_errorstatus, (caddr_t) &clnt_res, |
|---|
| 202 | TIMEOUT) != RPC_SUCCESS) { |
|---|
| 203 | return (NULL); |
|---|
| 204 | } |
|---|
| 205 | return (&clnt_res); |
|---|
| 206 | } |
|---|
| 207 | |
|---|
| 208 | errorstatus * |
|---|
| 209 | fep_idleline_32(fep_lineop *argp, CLIENT *clnt) |
|---|
| 210 | { |
|---|
| 211 | static errorstatus clnt_res; |
|---|
| 212 | |
|---|
| 213 | memset((char *)&clnt_res, 0, sizeof(clnt_res)); |
|---|
| 214 | if (clnt_call (clnt, FEP_IDLELINE, |
|---|
| 215 | (xdrproc_t) xdr_fep_lineop, (caddr_t) argp, |
|---|
| 216 | (xdrproc_t) xdr_errorstatus, (caddr_t) &clnt_res, |
|---|
| 217 | TIMEOUT) != RPC_SUCCESS) { |
|---|
| 218 | return (NULL); |
|---|
| 219 | } |
|---|
| 220 | return (&clnt_res); |
|---|
| 221 | } |
|---|
| 222 | |
|---|
| 223 | errorstatus * |
|---|
| 224 | fep_modemsignals_32(fep_lineop *argp, CLIENT *clnt) |
|---|
| 225 | { |
|---|
| 226 | static errorstatus clnt_res; |
|---|
| 227 | |
|---|
| 228 | memset((char *)&clnt_res, 0, sizeof(clnt_res)); |
|---|
| 229 | if (clnt_call (clnt, FEP_MODEMSIGNALS, |
|---|
| 230 | (xdrproc_t) xdr_fep_lineop, (caddr_t) argp, |
|---|
| 231 | (xdrproc_t) xdr_errorstatus, (caddr_t) &clnt_res, |
|---|
| 232 | TIMEOUT) != RPC_SUCCESS) { |
|---|
| 233 | return (NULL); |
|---|
| 234 | } |
|---|
| 235 | return (&clnt_res); |
|---|
| 236 | } |
|---|
| 237 | |
|---|
| 238 | reply_ret * |
|---|
| 239 | fep_getreply_32(fep_reply_request *argp, CLIENT *clnt) |
|---|
| 240 | { |
|---|
| 241 | static reply_ret clnt_res; |
|---|
| 242 | |
|---|
| 243 | memset((char *)&clnt_res, 0, sizeof(clnt_res)); |
|---|
| 244 | if (clnt_call (clnt, FEP_GETREPLY, |
|---|
| 245 | (xdrproc_t) xdr_fep_reply_request, (caddr_t) argp, |
|---|
| 246 | (xdrproc_t) xdr_reply_ret, (caddr_t) &clnt_res, |
|---|
| 247 | TIMEOUT) != RPC_SUCCESS) { |
|---|
| 248 | return (NULL); |
|---|
| 249 | } |
|---|
| 250 | return (&clnt_res); |
|---|
| 251 | } |
|---|
| 252 | |
|---|
| 253 | errorstatus * |
|---|
| 254 | fep_clearreply_32(void *argp, CLIENT *clnt) |
|---|
| 255 | { |
|---|
| 256 | static errorstatus clnt_res; |
|---|
| 257 | |
|---|
| 258 | memset((char *)&clnt_res, 0, sizeof(clnt_res)); |
|---|
| 259 | if (clnt_call (clnt, FEP_CLEARREPLY, |
|---|
| 260 | (xdrproc_t) xdr_void, (caddr_t) argp, |
|---|
| 261 | (xdrproc_t) xdr_errorstatus, (caddr_t) &clnt_res, |
|---|
| 262 | TIMEOUT) != RPC_SUCCESS) { |
|---|
| 263 | return (NULL); |
|---|
| 264 | } |
|---|
| 265 | return (&clnt_res); |
|---|
| 266 | } |
|---|
| 267 | |
|---|
| 268 | schedule_ret * |
|---|
| 269 | fep_updateschedule_32(fep_schedule *argp, CLIENT *clnt) |
|---|
| 270 | { |
|---|
| 271 | static schedule_ret clnt_res; |
|---|
| 272 | |
|---|
| 273 | memset((char *)&clnt_res, 0, sizeof(clnt_res)); |
|---|
| 274 | if (clnt_call (clnt, FEP_UPDATESCHEDULE, |
|---|
| 275 | (xdrproc_t) xdr_fep_schedule, (caddr_t) argp, |
|---|
| 276 | (xdrproc_t) xdr_schedule_ret, (caddr_t) &clnt_res, |
|---|
| 277 | TIMEOUT) != RPC_SUCCESS) { |
|---|
| 278 | return (NULL); |
|---|
| 279 | } |
|---|
| 280 | return (&clnt_res); |
|---|
| 281 | } |
|---|
| 282 | |
|---|
| 283 | int * |
|---|
| 284 | fep_getreportcount_32(void *argp, CLIENT *clnt) |
|---|
| 285 | { |
|---|
| 286 | static int clnt_res; |
|---|
| 287 | |
|---|
| 288 | memset((char *)&clnt_res, 0, sizeof(clnt_res)); |
|---|
| 289 | if (clnt_call (clnt, FEP_GETREPORTCOUNT, |
|---|
| 290 | (xdrproc_t) xdr_void, (caddr_t) argp, |
|---|
| 291 | (xdrproc_t) xdr_int, (caddr_t) &clnt_res, |
|---|
| 292 | TIMEOUT) != RPC_SUCCESS) { |
|---|
| 293 | return (NULL); |
|---|
| 294 | } |
|---|
| 295 | return (&clnt_res); |
|---|
| 296 | } |
|---|
| 297 | |
|---|
| 298 | report_ret * |
|---|
| 299 | fep_getreport_32(int *argp, CLIENT *clnt) |
|---|
| 300 | { |
|---|
| 301 | static report_ret clnt_res; |
|---|
| 302 | |
|---|
| 303 | memset((char *)&clnt_res, 0, sizeof(clnt_res)); |
|---|
| 304 | if (clnt_call (clnt, FEP_GETREPORT, |
|---|
| 305 | (xdrproc_t) xdr_int, (caddr_t) argp, |
|---|
| 306 | (xdrproc_t) xdr_report_ret, (caddr_t) &clnt_res, |
|---|
| 307 | TIMEOUT) != RPC_SUCCESS) { |
|---|
| 308 | return (NULL); |
|---|
| 309 | } |
|---|
| 310 | return (&clnt_res); |
|---|
| 311 | } |
|---|
| 312 | |
|---|
| 313 | report_ret * |
|---|
| 314 | fep_getreportvalue_32(int *argp, CLIENT *clnt) |
|---|
| 315 | { |
|---|
| 316 | static report_ret clnt_res; |
|---|
| 317 | |
|---|
| 318 | memset((char *)&clnt_res, 0, sizeof(clnt_res)); |
|---|
| 319 | if (clnt_call (clnt, FEP_GETREPORTVALUE, |
|---|
| 320 | (xdrproc_t) xdr_int, (caddr_t) argp, |
|---|
| 321 | (xdrproc_t) xdr_report_ret, (caddr_t) &clnt_res, |
|---|
| 322 | TIMEOUT) != RPC_SUCCESS) { |
|---|
| 323 | return (NULL); |
|---|
| 324 | } |
|---|
| 325 | return (&clnt_res); |
|---|
| 326 | } |
|---|
| 327 | |
|---|
| 328 | report_ret * |
|---|
| 329 | fep_sendreport_32(fep_report *argp, CLIENT *clnt) |
|---|
| 330 | { |
|---|
| 331 | static report_ret clnt_res; |
|---|
| 332 | |
|---|
| 333 | memset((char *)&clnt_res, 0, sizeof(clnt_res)); |
|---|
| 334 | if (clnt_call (clnt, FEP_SENDREPORT, |
|---|
| 335 | (xdrproc_t) xdr_fep_report, (caddr_t) argp, |
|---|
| 336 | (xdrproc_t) xdr_report_ret, (caddr_t) &clnt_res, |
|---|
| 337 | TIMEOUT) != RPC_SUCCESS) { |
|---|
| 338 | return (NULL); |
|---|
| 339 | } |
|---|
| 340 | return (&clnt_res); |
|---|
| 341 | } |
|---|
| 342 | |
|---|
| 343 | void * |
|---|
| 344 | fep_reply_xfer_32(fep_reply *argp, CLIENT *clnt) |
|---|
| 345 | { |
|---|
| 346 | static char clnt_res; |
|---|
| 347 | |
|---|
| 348 | memset((char *)&clnt_res, 0, sizeof(clnt_res)); |
|---|
| 349 | if (clnt_call (clnt, FEP_REPLY_XFER, |
|---|
| 350 | (xdrproc_t) xdr_fep_reply, (caddr_t) argp, |
|---|
| 351 | (xdrproc_t) xdr_void, (caddr_t) &clnt_res, |
|---|
| 352 | TIMEOUT) != RPC_SUCCESS) { |
|---|
| 353 | return (NULL); |
|---|
| 354 | } |
|---|
| 355 | return ((void *)&clnt_res); |
|---|
| 356 | } |
|---|
| 357 | |
|---|
| 358 | errorstatus * |
|---|
| 359 | fep_set_debug_32(int *argp, CLIENT *clnt) |
|---|
| 360 | { |
|---|
| 361 | static errorstatus clnt_res; |
|---|
| 362 | |
|---|
| 363 | memset((char *)&clnt_res, 0, sizeof(clnt_res)); |
|---|
| 364 | if (clnt_call (clnt, FEP_SET_DEBUG, |
|---|
| 365 | (xdrproc_t) xdr_int, (caddr_t) argp, |
|---|
| 366 | (xdrproc_t) xdr_errorstatus, (caddr_t) &clnt_res, |
|---|
| 367 | TIMEOUT) != RPC_SUCCESS) { |
|---|
| 368 | return (NULL); |
|---|
| 369 | } |
|---|
| 370 | return (&clnt_res); |
|---|
| 371 | } |
|---|
| 372 | |
|---|
| 373 | int * |
|---|
| 374 | fep_get_stack_left_32(void *argp, CLIENT *clnt) |
|---|
| 375 | { |
|---|
| 376 | static int clnt_res; |
|---|
| 377 | |
|---|
| 378 | memset((char *)&clnt_res, 0, sizeof(clnt_res)); |
|---|
| 379 | if (clnt_call (clnt, FEP_GET_STACK_LEFT, |
|---|
| 380 | (xdrproc_t) xdr_void, (caddr_t) argp, |
|---|
| 381 | (xdrproc_t) xdr_int, (caddr_t) &clnt_res, |
|---|
| 382 | TIMEOUT) != RPC_SUCCESS) { |
|---|
| 383 | return (NULL); |
|---|
| 384 | } |
|---|
| 385 | return (&clnt_res); |
|---|
| 386 | } |
|---|
| 387 | |
|---|
| 388 | errorstatus * |
|---|
| 389 | fep_setlmdebug_32(fep_setschedule *argp, CLIENT *clnt) |
|---|
| 390 | { |
|---|
| 391 | static errorstatus clnt_res; |
|---|
| 392 | |
|---|
| 393 | memset((char *)&clnt_res, 0, sizeof(clnt_res)); |
|---|
| 394 | if (clnt_call (clnt, FEP_SETLMDEBUG, |
|---|
| 395 | (xdrproc_t) xdr_fep_setschedule, (caddr_t) argp, |
|---|
| 396 | (xdrproc_t) xdr_errorstatus, (caddr_t) &clnt_res, |
|---|
| 397 | TIMEOUT) != RPC_SUCCESS) { |
|---|
| 398 | return (NULL); |
|---|
| 399 | } |
|---|
| 400 | return (&clnt_res); |
|---|
| 401 | } |
|---|
| 402 | |
|---|
| 403 | errorstatus * |
|---|
| 404 | fep_shutdown_32(void *argp, CLIENT *clnt) |
|---|
| 405 | { |
|---|
| 406 | static errorstatus clnt_res; |
|---|
| 407 | |
|---|
| 408 | memset((char *)&clnt_res, 0, sizeof(clnt_res)); |
|---|
| 409 | if (clnt_call (clnt, FEP_SHUTDOWN, |
|---|
| 410 | (xdrproc_t) xdr_void, (caddr_t) argp, |
|---|
| 411 | (xdrproc_t) xdr_errorstatus, (caddr_t) &clnt_res, |
|---|
| 412 | TIMEOUT) != RPC_SUCCESS) { |
|---|
| 413 | return (NULL); |
|---|
| 414 | } |
|---|
| 415 | return (&clnt_res); |
|---|
| 416 | } |
|---|
| 417 | |
|---|
| 418 | int * |
|---|
| 419 | fep_initsystem_32(int *argp, CLIENT *clnt) |
|---|
| 420 | { |
|---|
| 421 | static int clnt_res; |
|---|
| 422 | |
|---|
| 423 | memset((char *)&clnt_res, 0, sizeof(clnt_res)); |
|---|
| 424 | if (clnt_call (clnt, FEP_INITSYSTEM, |
|---|
| 425 | (xdrproc_t) xdr_int, (caddr_t) argp, |
|---|
| 426 | (xdrproc_t) xdr_int, (caddr_t) &clnt_res, |
|---|
| 427 | TIMEOUT) != RPC_SUCCESS) { |
|---|
| 428 | return (NULL); |
|---|
| 429 | } |
|---|
| 430 | return (&clnt_res); |
|---|
| 431 | } |
|---|
| 432 | |
|---|
| 433 | int * |
|---|
| 434 | fep_initrealix_32(init_form *argp, CLIENT *clnt) |
|---|
| 435 | { |
|---|
| 436 | static int clnt_res; |
|---|
| 437 | |
|---|
| 438 | memset((char *)&clnt_res, 0, sizeof(clnt_res)); |
|---|
| 439 | if (clnt_call (clnt, FEP_INITREALIX, |
|---|
| 440 | (xdrproc_t) xdr_init_form, (caddr_t) argp, |
|---|
| 441 | (xdrproc_t) xdr_int, (caddr_t) &clnt_res, |
|---|
| 442 | TIMEOUT) != RPC_SUCCESS) { |
|---|
| 443 | return (NULL); |
|---|
| 444 | } |
|---|
| 445 | return (&clnt_res); |
|---|
| 446 | } |
|---|