ossp-pkg/rc/rc.h 1.46 -> 1.47
--- rc.h 2003/05/21 12:49:20 1.46
+++ rc.h 2003/06/11 16:18:48 1.47
@@ -123,17 +123,23 @@
rc_label_t *labelNew(const char *);
rc_return_t labelAppendsec(rc_label_t *, rc_section_t *);
rc_return_t labelDelete(rc_label_t *);
+const char *labelGetname(rc_label_t *);
+rc_return_t labelSetname(rc_label_t *, const char *);
/* Section function prototypes */
rc_section_t *sectionNew(const char *);
rc_section_t *sectionCopy(rc_section_t *);
const int sectionGetpri(rc_section_t *);
const int sectionGetuid(rc_section_t *);
+const char *sectionGetname(rc_section_t *);
+const char *sectionGetlabel(rc_section_t *);
const char *sectionGetlogin(rc_section_t *);
const char *sectionGetdata(rc_section_t *);
size_t sectionGetlen(rc_section_t *);
rc_return_t sectionSetpri(rc_section_t *, long);
rc_return_t sectionSetuid(rc_section_t *, long);
+rc_return_t sectionSetname(rc_section_t *, const char *);
+rc_return_t sectionSetlabel(rc_section_t *, const char *);
rc_return_t sectionSetlogin(rc_section_t *, const char *);
rc_return_t sectionSetdata(rc_section_t *, const char *);
rc_return_t sectionSetndata(rc_section_t *, const char *, size_t);
|
|