8 #include <csi/pep_defs.h>
33 char pep_name[PEP_MAX_NAME_LEN+1];
34 char pep_app[PEP_MAX_NAME_LEN+1];
40 void read_defaults (FILE* fp);
45 Protocol (
const char *app,
const char *name, pepAccess amode);
57 void output_table (FILE* stream);
60 void output_table (
const char* filename);
63 Logic
news (
const char* pname);
75 void publish (
const char* pname);
79 Logic
absorb (
const char* pname);
84 void text_input (
const char* pname, FILE* stream);
90 void init (
const char* pname);
93 size_t size (
const char* pname);
96 void set_text (
const char* pname,
const char* textvalue);
97 void set_value (
const char* pname, ...);
98 void set_va_lue (
const char* pname, va_list val)
99 {
register int i =
n2i(pname);
100 pdar[i].ptype->set_value((*lovt)[i], val);}
103 void get_text (
const char* pname,
char*& textvalue);
104 void get_value (
const char* pname, ...);
105 void get_va_lue (
const char* pname, va_list val)
106 {
register int i =
n2i(pname);
107 pdar[i].ptype->get_value((*lovt)[i], val);}
117 int n2i (
const char* pname);
120 const char*
i2n (
int i);
124 {
return pdar.count(); }
Logic absorb(const char *pname)
int param_count() const
Definition: pep.H:123
void init(const char *pname)
int n2i(const char *pname)
const char * application() const
Definition: pep.H:131
void text_output(const char *pname, FILE *stream)
void absorb_table(IntAr *news=NULL)
size_t size(const char *pname)
void get_text(const char *pname, char *&textvalue)
void set_text(const char *pname, const char *textvalue)
Logic news(const char *pname)
void publish(const char *pname)
ParDesc & desc(const char *pname)
Protocol(const char *app, const char *name, pepAccess amode)
ParDesc & desc(int i)
Definition: pep.H:113
const char * protocol() const
Definition: pep.H:127
void input_table(FILE *stream)
void text_input(const char *pname, FILE *stream)