version 1.2, 2015/04/20 18:10:14
|
version 1.3, 2015/04/20 18:19:56
|
|
|
#define _provreg_regfile_h | #define _provreg_regfile_h |
| |
#include <common.h> | #include <common.h> |
|
#include "provreg.h" |
|
|
|
/* Maximum line length */ |
|
#define MAX_LINE 1024 |
| |
BEGIN_EXTERNC | BEGIN_EXTERNC |
| |
|
|
| |
/* Provider process-hosting model */ | /* Provider process-hosting model */ |
char* hosting; | char* hosting; |
|
|
|
/* Registered class type */ |
|
ProvRegType regtype; |
} | } |
RegClass; | RegClass; |
| |
typedef struct _RegFile | typedef struct _RegFile |
{ | { |
char* library; | char* library; |
|
|
|
#if defined(CONFIG_ENABLE_PREEXEC) |
|
|
|
/* Name of program to be executed before invoking this provider */ |
|
char* preexec; |
|
|
|
#endif /* defined(CONFIG_ENABLE_PREEXEC) */ |
|
|
|
/* 1 if lifetime of instance is that of context, |
|
* 0 otherwise |
|
*/ |
|
int instanceLifetimeContext; |
|
|
RegClass* classesHead; | RegClass* classesHead; |
RegClass* classesTail; | RegClass* classesTail; |
|
RegClass* extraClassesHead; |
|
RegClass* extraClassesTail; |
} | } |
RegFile; | RegFile; |
| |