Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
dispatch_clnt.c.preserve
Package: gnusql-0.7b5.1.tar.gz [view]
Upload User: dgyhgb
Upload Date: 2007-01-07
Package Size: 676k
Code Size: 2k
Category:
SQL Server
Development Platform:
Unix_Linux
- /*
- * Please do not edit this file.
- * It was generated using rpcgen.
- */
- #include <memory.h> /* for memset */
- #include "dispatch.h"
- /* Default timeout can be changed using clnt_control() */
- static struct timeval TIMEOUT = { 25, 0 };
- res *
- create_transaction_1(init_arg *argp, CLIENT *clnt)
- {
- static res clnt_res;
- memset((char *)&clnt_res, 0, sizeof(clnt_res));
- if (clnt_call(clnt, CREATE_TRANSACTION, xdr_init_arg, argp, xdr_res, &clnt_res, TIMEOUT) != RPC_SUCCESS) {
- return (NULL);
- }
- return (&clnt_res);
- }
- int *
- is_ready_1(opq *argp, CLIENT *clnt)
- {
- static int clnt_res;
- memset((char *)&clnt_res, 0, sizeof(clnt_res));
- if (clnt_call(clnt, IS_READY, xdr_opq, argp, xdr_int, &clnt_res, TIMEOUT) != RPC_SUCCESS) {
- return (NULL);
- }
- return (&clnt_res);
- }
- int *
- kill_all_1(int *argp, CLIENT *clnt)
- {
- static int clnt_res;
- memset((char *)&clnt_res, 0, sizeof(clnt_res));
- if (clnt_call(clnt, KILL_ALL, xdr_int, argp, xdr_int, &clnt_res, TIMEOUT) != RPC_SUCCESS) {
- return (NULL);
- }
- return (&clnt_res);
- }
- int *
- trn_kill_1(opq *argp, CLIENT *clnt)
- {
- static int clnt_res;
- memset((char *)&clnt_res, 0, sizeof(clnt_res));
- if (clnt_call(clnt, TRN_KILL, xdr_opq, argp, xdr_int, &clnt_res, TIMEOUT) != RPC_SUCCESS) {
- return (NULL);
- }
- return (&clnt_res);
- }
- int *
- disp_finit_1(int *argp, CLIENT *clnt)
- {
- static int clnt_res;
- memset((char *)&clnt_res, 0, sizeof(clnt_res));
- if (clnt_call(clnt, DISP_FINIT, xdr_int, argp, xdr_int, &clnt_res, TIMEOUT) != RPC_SUCCESS) {
- return (NULL);
- }
- return (&clnt_res);
- }
- int *
- copy_lj_1(opq *argp, CLIENT *clnt)
- {
- static int clnt_res;
- memset((char *)&clnt_res, 0, sizeof(clnt_res));
- if (clnt_call(clnt, COPY_LJ, xdr_opq, argp, xdr_int, &clnt_res, TIMEOUT) != RPC_SUCCESS) {
- return (NULL);
- }
- return (&clnt_res);
- }
- int *
- change_params_1(int *argp, CLIENT *clnt)
- {
- static int clnt_res;
- memset((char *)&clnt_res, 0, sizeof(clnt_res));
- if (clnt_call(clnt, CHANGE_PARAMS, xdr_int, argp, xdr_int, &clnt_res, TIMEOUT) != RPC_SUCCESS) {
- return (NULL);
- }
- return (&clnt_res);
- }