NsPublishService()
NsPublishService()
This function is declared in the coresrv/ns/ns_api.h file.
Retcode NsPublishService(NsHandle ns, const char *type, const char *server,
const char *service);
This function publishes the endpoint with the defined interface on the name server.
Parameters:
nsis the handle of the connection with the name server that was previously received by using theNsCreate()call.typeis the name of the interface implemented by the published endpoint (for example,kl.drivers.Block).serveris the name of the server process (for example,kl.drivers.Ata).serviceis the fully qualified name of the endpoint (for example,blkdev.ata).
If successful, the function returns rcOk, otherwise it returns an error code.
Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.