re: RPC ?
"Nils O." Selåsdal <[email protected]>
| Newsgroups | gmane.linux.lsb.discuss |
|---|---|
| Organization | UtelSystems |
| Message-ID | <1049900562.10710.7.camel@nos-rh> |
On Wed, 2003-04-09 at 16:45, George Kraft wrote:
> On Wed, 2003-04-09 at 03:57, Nils O. Selåsdal wrote:
> > >If things are missing form the LSB development headers,
> > The headers seems to conform to the LSB written specification 1.3 , but
> > what I'm wondering about is how to _use_ them, when things are "missing"
> > with respect to what is defined in the "standard" glibc (and Solaris)
> > headers.
> > E.g. shouldn't I atleast be able to compile output made by rpcgen ?
>
> Nils,
>
> Sounds reasonable. So, if I were to use the example in the below
> referenced URL, then do you think that would be a simple test of
> rpcgen code?
>
> http://netbula.com/oncrpc/rpcgen.html
>
> George (gk4)
Sounds reasonable.
The .x file I'm working on and testing is:
union vxw2h_res switch (int err)
{
case 0 : void;
default : int loc;
};
program VXW2H_GW_S_PROG
{
version VXW2H_GW_S_VERS
{
vxw2h_res SENDSMSG_GW_S(string) = 1;
vxw2h_res SENDSS7_GW_S(string) = 2;
vxw2h_res SENDADM_GW_S(string) = 3;
vxw2h_res SENDERROR_GW_S(string) = 4;
} = 2;
} = 0x20406090;
Run rpcgen -a
on that file, it also produces a makefile for compiling a test
client/server. Should be straight forward code.
--
Vennlig hilsen/Best Regards
Nils Olav Selaasdal
System Engineer
UtelSystems a/s
w w w . u t e l s y s t e m s . c o m