Lines Matching refs:libBase
44 struct ExpatBase * libInit(struct ExpatBase *libBase, BPTR seglist, struct ExecIFace *ISys);
125 struct ExpatBase *libInit(struct ExpatBase *libBase, BPTR seglist, struct ExecIFace *ISys)
127 libBase->libNode.lib_Node.ln_Type = NT_LIBRARY;
128 libBase->libNode.lib_Node.ln_Pri = LIBPRI;
129 libBase->libNode.lib_Node.ln_Name = LIBNAME;
130 libBase->libNode.lib_Flags = LIBF_SUMUSED|LIBF_CHANGED;
131 libBase->libNode.lib_Version = VERSION;
132 libBase->libNode.lib_Revision = REVISION;
133 libBase->libNode.lib_IdString = VSTRING;
134 libBase->SegList = seglist;
146 return libBase;
178 struct ExpatBase *libBase;
180 libBase = (struct ExpatBase *)Self->Data.LibBase;
182 ++libBase->libNode.lib_OpenCnt;
183 libBase->libNode.lib_Flags &= ~LIBF_DELEXP;
185 return libBase;
191 struct ExpatBase *libBase;
193 libBase = (struct ExpatBase *)Self->Data.LibBase;
195 --libBase->libNode.lib_OpenCnt;
196 if ( libBase->libNode.lib_OpenCnt ) {
200 if ( libBase->libNode.lib_Flags & LIBF_DELEXP ) {
211 struct ExpatBase *libBase;
214 libBase = (struct ExpatBase *)Self->Data.LibBase;
216 if (libBase->libNode.lib_OpenCnt == 0) {
217 Remove(&libBase->libNode.lib_Node);
219 result = libBase->SegList;
226 DeleteLibrary(&libBase->libNode);
229 libBase->libNode.lib_Flags |= LIBF_DELEXP;