From: rsalz@osf.org (Rich Salz)
Subject: Re: peer to peer impossible in dce?
Date: 7 Jun 1993 19:28:23 GMT [thread overview]
Message-ID: <1v04sn$rjj@paperboy.osf.org> (raw)
In-Reply-To: 1993Jun7.151247.2332@walter.bellcore.com
In <1993Jun7.151247.2332@walter.bellcore.com> grd@scherzo.bellcore.com (Glen Diener) writes:
>X cannot, for example, link both the client stub,
>the server stub, and a method definition for ping()...the method
>definition will end up clashing with a definition for ping in
>the client stub, and produce a multiply-defined symbol at link time.
You should be able to do this by doing the following:
- Write your "ping" operation implementation, but call it
something like my_ping_op or some such.
- Take a look at the generated server_stub file and pull out
the manager_epv part -- it will be a custom structure that
has one function pointer for each operation.
- Copy the variable (separating the variable from its typedef
may be tricky :-) into one of your server source files and replace
"ping" with my_ping_op.
- Run IDL with the -no_mepv flag.
Compile and link as normal.
next prev parent reply other threads:[~1993-06-07 19:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-06-07 15:12 peer to peer impossible in dce? Glen Diener
1993-06-07 19:28 ` Rich Salz [this message]
1993-06-08 15:24 ` Greg Brail
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox