-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathoidtoobj.h
40 lines (31 loc) · 1.19 KB
/
oidtoobj.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/****************************************************************************
File : oidtoobject.h
Date : 08-11-92
Author : Mark Immel
Contents : Routines to obtain objects from OIDs and vice versa
Modifications
-------------
*****************************************************************************/
#ifndef _EMERALD_OIDTOOBJECT_H
#define _EMERALD_OIDTOOBJECT_H
#include "types.h"
#include "otable.h"
extern OTable ObjectTable;
extern void OIDToObjectInit(void);
#define OIDFetch(o) (OTableLookupByOID(ObjectTable, (o)))
extern void OIDRemove(OID oid, Object o);
extern void OIDRemoveAny(Object o);
extern void OIDInsert(OID oid, Object o);
extern void OIDInsertFromSeq(unsigned seq, Object o);
extern void UpdateOIDTables(OID oid, Object o);
extern void NewOID(OID *theOID);
extern Bits32 OIDSeqOf(Object o);
extern int EqOID(OID oid1, OID oid2);
#define OIDOf(o) (OTableLookupByObject(ObjectTable, (Object)(o)))
extern OID FOIDOf(Object o);
extern OID nooid;
extern AbCon findAbCon(OID, OID), findConCon(ConcreteType);
int findOpByName(ConcreteType ct, char *name);
extern void UpdateObjectLocation(Object oldo, Object newo);
char *OIDString( OID );
#endif /* _EMERALD_OIDTOOBJECT_H */