Index: ossp-pkg/rc/rc.h RCS File: /v/ossp/cvs/ossp-pkg/rc/rc.h,v rcsdiff -q -kk '-r1.43' '-r1.44' -u '/v/ossp/cvs/ossp-pkg/rc/rc.h,v' 2>/dev/null --- rc.h 2003/05/16 18:43:30 1.43 +++ rc.h 2003/05/20 11:46:25 1.44 @@ -117,6 +117,11 @@ const char *scriptTostring(rc_script_t *); rc_return_t scriptDelete(rc_script_t *); +/* Label function prototypes */ +rc_label_t *labelNew(const char *); +rc_return_t labelAppendsec(rc_label_t *, rc_section_t *); +rc_return_t labelDelete(rc_label_t *); + /* Section function prototypes */ rc_section_t *sectionNew(void); rc_section_t *sectionCopy(rc_section_t *); Index: ossp-pkg/rc/rc_private.h RCS File: /v/ossp/cvs/ossp-pkg/rc/rc_private.h,v rcsdiff -q -kk '-r1.25' '-r1.26' -u '/v/ossp/cvs/ossp-pkg/rc/rc_private.h,v' 2>/dev/null --- rc_private.h 2003/05/16 18:43:30 1.25 +++ rc_private.h 2003/05/20 11:46:25 1.26 @@ -95,11 +95,18 @@ size_t m_Bytes; } rc_section_t; +/* Label type */ +typedef struct { + int m_nSecs; + char *m_szName; + rc_section_t **m_ppSecvec; +} rc_label_t; + /* Processor class */ typedef struct { rc_anal_t *m_pAnal; rc_script_t *m_pScriptcom; - rc_section_t **m_ppSectvec; + rc_label_t **m_ppLabvec; } rc_proc_t; #endif /* __OSSPRC_PRIVATE_H__ */