lb_unregister.3ncs
来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 3NCS 代码 · 共 116 行
3NCS
116 行
.TH lb_unregister 3ncs.SH Namelb_unregister \- remove an entry from the Location Broker database.SH Syntax.nf#include <idl/c/lb.h>void lb_$unregister(\fIentry, status\fP)lb_$entry_t *\fIentry;\fRstatus_$t *\fIstatus;\fR.fi.\".SH SYNOPSIS (PASCAL).\".DS.\"\fB%include '/usr/include/idl/pas/lb.ins.pas'\fR.\".\"\fBprocedure lb_$unregister(\fR.\" \fBout \fIentry\fB: lb_$entry_t;\fR.\" \fBout \fIstatus\fB: status_$t);\fR.\".DE.SH Arguments.TP\fIentry\fRThe entry being removed from the Location Broker database..TP\fIstatus\fRThe completion status.If the completion status returned in.PN status\&.allis equal to.B status_$ok ,then the routine that supplied it was successful..SH DescriptionThe .PN lb_$unregisterroutine removes from the Location Broker databasethe entry that matches .I entry..NXR "Interface to the Location Broker" "lb_unregister"The value of .I entryshould be identical to that returned by the .PN lb_$registerroutine when the database entry was created.However, .PN lb_$unregisterdoes not compare all of the fields in .I entry,the.B annotationfield, and the port number in the.B saddrfield..PPThis routine removes the entry from the LLB database on the local host (the host that issues the routine).If the .B flagsfield of .I entryis equal to 0, it removes the entry from the GLB database. Ifthe.B flagsfield is equal to .B lb_$server_flag_local,it deletes only the LLB entry..SH ExamplesThe following statement unregisters the entry specified by .PN BankEntry ,which was obtained from a previous .PN lb_$registerroutine:.EXlb_$unregister (&BankEntry, &status);.EE.SH Diagnostics This section lists status codes for errors returned by this.PN lb_$routine in.PN status\&.all ..TP 20\fBlb_$database_invalid\fRThe format of the Location Broker database is out of date.The database may have been created by an old version of the Location Broker; in this case, delete the out-of-date database and reregister any entriesthat it contained.The LLB or GLB that was accessed may be running out-of-date software;in this case, update all Location Brokers to the current software version..TP 20\fBlb_$database_busy\fRThe Location Broker database is currently in use in an incompatible manner..TP 20\fBlb_$not_registered\fRThe Location Broker does not have any entries that matchthe criteria specified in the unregister routine.The requested object, type, interface, or combination thereofis not registered in the specified database..TP 20\fBlb_$update_failed\fRThe Location Broker was unable to register or unregister the entry..TP 20\fBlb_$cant_access\fRThe Location Broker cannot access the database.Among the possible reasons:.IP1. The database does not exist..IP2. The database exists, but the Location Broker cannot access it..TP 20\fBlb_$server_unavailable\fRThe Location Broker Client Agent cannot reach the requested GLB or LLB.A communications failure occurred or the broker was not running..SH Files.PN /usr/include/idl/c/glb.h.SH See Alsointro(3ncs), lb_register(3ncs)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?