uuid_gen(3ncs)uuid_gen(3ncs)Name
uuid_gen - generate a new UUID
Syntax
#include <idl/c/uuid.h>
void uuid_$gen(uuid)
uuid_$t *uuid;
Arguments
uuid A pointer to a UUID structure to be filled in.
Description
The routine returns a new UUID. Typically used when creating a new remote application.
Examples
The following routine returns as new_uuid a new UUID:
uuid_$gen (&new_uuid);
FilesSee Alsointro(3ncs)uuid_gen(3ncs)
Check Out this Related Man Page
rpc_register_mgr(3ncs)rpc_register_mgr(3ncs)Name
rpc_register_mgr - register a manager (server only)
Syntax
#include <idl/c/rpc.h>
void rpc_$register_mgr(type, ifspec, sepv, mepv, status)
uuid_$t *type;
rpc_$if_spec_t *ifspec;
rpc_$generic_epv_t sepv;
rpc_$mgr_epv_t mepv;
status_$t *status;
Arguments
type The UUID of the type being registered.
ifspec The interface being registered.
sepv The generic EPV, a vector of pointers to server stub procedures.
mepv The manager EPV, a vector of pointers to manager procedures.
status The completion status. If the completion status returned in is equal to status_$ok , then the routine that supplied it
was successful.
Description
The routine registers the set of manager procedures that implement a specified interface for a specified type.
Servers can invoke this routine several times with the same interface (ifspec) and generic EPV (sepv) but with a different object type
(type) and manager EPV (mepv) on each invocation. This technique allows a server to export several implementations of the same interface.
Servers that export several versions of the same interface (but not different implementations for different types) must also use not Such
servers should supply uuid_$nil as the type to
If a server uses to register a manager for a specific interface and a specific type that is not nil, the server must use to register an
object.
Diagnostics
This section lists status codes for errors returned by this routine in
rpc_$op_rng_error The requested operation does not correspond to a valid operation in the requested interface.
rpc_$unk_if The requested interface is not known. It is not registered in the server, the version number of the registered inter-
face is different from the version number specified in the request, or the UUID in the request does not match the UUID
of the registered interface.
rpc_$too_many_ifs The maximum number of interfaces is already registered with the RPC runtime library; the server must unregister some
interface before it registers an additional interface.
rpc_$not_in_call An internal error.
rpc_$you_crashed This error can occur if a server has crashed and restarted. A client RPC runtime library sends the error to the server
if the client makes a remote procedure call before the server crashes, then receives a response after the server
restarts.
rpc_$proto_error An internal protocol error.
rpc_$illegal_register
You are trying to register an interface that is already registered and you are using an EPV different from the one used
when the interface was first registered. An interface can be multiply registered, but you must use the same EPV in
each routine.
FilesSee Alsointro(3ncs), rpc_register(3ncs), rpc_register_object(3ncs), rpc_unregister(3ncs)rpc_register_mgr(3ncs)
I want to build a little website on a Sun Blade 100 running Solaris 10.
I just went out to apache.org and downloaded Unix Source: httpd-2.2.8.tar.gz
After unpacking the tarball, I CD'd into the subdirectory and ran the configure utility. Of course, it crapped out. I see that it is... (17 Replies)
Well i was tidying up some files in a very important directory on our development server and somehow some plank had put a recursive sybmolic link in it. Which I the even bigger plank tried to delete from my FTP client. My FTP client then thought it would be OK to delete not only the sybmolic link... (0 Replies)
Hi folks.
our developer had a root user and he changed some settings about root user. We have not known what he changed.
There is an oracle user, we can login to oracle, no problem. But when we try to login to root user we are getting this error :
$ su root
Password:
bash:... (9 Replies)
So after getting a Nagios plugin up and running that checks certain things including network interfaces, I get an error off the one box I built (as opposed to all of the others that were built by a former employee). The error complains of the "NIC logical group" failing.
All the boxes are HP... (7 Replies)
Good Evening:
2 things then I'll post my problem. Don't you find it very odd that in the "linux" sub-forum, they don't list any linux O.S.'s. This should've been posted in 'emergencies", but it refused!!!??
I'm at wit's end. Been fighting LinuxMint 17 for about 2 months now and it's... (3 Replies)
Hi
We meet errors while running configuration scripts to prepare compiling source code on AIX 7.2. This error does not happen on AIX5.3 and AIX6.1
With the “/usr/bin/sh” from AIX7.2, sometimes , the script runs sucessfully, sometimes not. It’s unstable, and I don’t know why.
When... (10 Replies)