idl_request.h

Go to the documentation of this file.
00001 
00007 /* $Id: idl_request.h,v 1.5 2007/07/24 19:24:32 yarkhan Exp $ */
00008 /* $UTK_Copyright: $ */
00009 
00010 #include "idl_export.h"
00011 
00012 #ifdef HAVE_CONFIG_H
00013 #include "config.h"
00014 #endif /* HAVE_CONFIG_H */
00015 
00016 #include "grpc.h"
00017 
00018 #define GS_IDL_NULL_ID       -1
00019 
00020 typedef struct{
00021   grpc_sessionid_t gs_req_id;
00022   int              argc;
00023   gs_problem_t*    pd;
00024   IDL_VPTR*        argv_idl;
00025 } GS_IDL_Request;
00026 
00027 extern GS_IDL_Request requests[MAX_GRPC_REQUESTS];
00028 
00029 void gs_init_req();
00030 
00031 int
00032   add_req(grpc_sessionid_t, gs_problem_t *, int, IDL_VPTR *),
00033   del_req(grpc_sessionid_t);