Registered procedures

A registered procedure is a piece of Open Server/C code identified by a name. When an application registers a procedure, it maps the procedure name to a routine, so that when Open Server detects this procedure name in an incoming RPC datastream, it can call a specific routine immediately without raising a SRV_RPC event.

When an Open Server application receives an RPC, it looks up the procedure name in the list of registered procedures. If the name is registered, the runtime system executes the routine associated with the registered procedure. If the procedure name is not found in the list of registered procedures, Open Server calls the SRV_RPC event handler.

System registered procedures are built-in procedures that are internal to all Open Server applications. See Chapter 4, “System Registered Procedures” for a detailed description of each system registered procedure.

See “Registered procedures” for details on registered procedures.