ossp-pkg/rc/rc.h 1.37 -> 1.38
--- rc.h 2002/07/30 16:36:41 1.37
+++ rc.h 2002/08/02 16:38:09 1.38
@@ -112,11 +112,21 @@
/* Script function prototypes */
rc_script_t *scriptNew(void);
rc_return_t scriptAppend(rc_script_t *, char *, size_t);
-char *scriptSection(rc_script_t *, const char *);
+rc_section_t *scriptSection(rc_script_t *, const char *);
rc_return_t scriptDump(rc_script_t *);
const char *scriptTostring(rc_script_t *);
rc_return_t scriptDelete(rc_script_t *);
+/* Section function prototypes */
+rc_section_t *sectionNew(void);
+const int sectionGetpri(rc_section_t *);
+const int sectionGetuid(rc_section_t *);
+const char *sectionGetdata(rc_section_t *);
+rc_return_t sectionSetpri(rc_section_t *, int);
+rc_return_t sectionSetuid(rc_section_t *, int);
+rc_return_t sectionSetdata(rc_section_t *, const char *);
+rc_return_t sectionDelete(rc_section_t *);
+
/* Processor function prototypes */
rc_proc_t *procNew(void);
rc_return_t procDelete(rc_proc_t *);
|
|