moved from libCom/misc to here

This commit is contained in:
Marty Kraimer
2000-02-24 20:37:14 +00:00
parent f4ef2979b5
commit ca99984602
4 changed files with 71 additions and 0 deletions
+4
View File
@@ -5,6 +5,10 @@ include $(TOP)/configure/CONFIG
#
INC += registry.h
INC += registryDeviceSupport.h
INC += registryDriverSupport.h
INC += registryRecordType.h
# general contents of library on all platforms
#
+17
View File
@@ -0,0 +1,17 @@
#ifndef INCregistryDeviceSupporth
#define INCregistryDeviceSupporth
#ifdef __cplusplus
extern "C" {
#endif
int registryDeviceSupportAdd(const char *name,struct dset *pdset);
struct dset *registryDeviceSupportFind(const char *name);
#ifdef __cplusplus
}
#endif
#endif /* INCregistryDeviceSupporth */
+18
View File
@@ -0,0 +1,18 @@
#ifndef INCregistryDriverSupporth
#define INCregistryDriverSupporth
#ifdef __cplusplus
extern "C" {
#endif
/* c interface definitions */
int registryDriverSupportAdd(const char *name,struct drvet *pdrvet);
struct drvet *registryDriverSupportFind(const char *name);
#ifdef __cplusplus
}
#endif
#endif /* INCregistryDriverSupporth */
+32
View File
@@ -0,0 +1,32 @@
#ifndef INCregistryRecordTypeh
#define INCregistryRecordTypeh
struct dbRecordType;
struct rset;
struct dbBase;
typedef int (*computeSizeOffset)(struct dbRecordType *pdbRecordType);
typedef struct recordTypeLocation {
struct rset *prset;
computeSizeOffset sizeOffset;
}recordTypeLocation;
#ifdef __cplusplus
extern "C" {
#endif
int registryRecordTypeAdd(const char *name,recordTypeLocation *prtl);
recordTypeLocation *registryRecordTypeFind(const char *name);
/* The following function is generated by registerRecordDeviceDriver/pl */
int registerRecordDeviceDriver(struct dbBase *pdbbase);
#ifdef __cplusplus
}
#endif
#endif /* INCregistryRecordTypeh */