Index: util_sheet.h =================================================================== --- util_sheet.h (.../libcschem/util_sheet.h) (revision 8972) +++ util_sheet.h (.../sch-rnd/util_sheet.h) (revision 8973) @@ -1,12 +1,12 @@ #include -typedef enum csch_sheet_setup_cfg_e { /* bitfield */ - CSCH_SSC_PENS, - CSCH_SSC_UUID -} csch_sheet_setup_cfg_t; +typedef enum sch_rnd_sheet_setup_cfg_e { /* bitfield */ + SCH_RND_SSC_PENS = 1, /* create pens */ + SCH_RND_SSC_UUID = 2 /* set up a new uuid for direct */ +} sch_rnd_sheet_setup_cfg_t; /* Copy defaults into dst (from the default sheet) as cfg dictates; if CSCH_SSC_PENS is true chk_copy_pen is called on each pen and the pen is copied only if it returns non-zero. If chk_copy_pen is NULL, it is assumed to always return 1. */ -void csch_sheet_setup(csch_sheet_t *dst, csch_sheet_setup_cfg_t cfg, int (*chk_copy_pen)(void *udata, csch_sheet_t *dst), void *udata); +void sch_rnd_sheet_setup(csch_sheet_t *dst, sch_rnd_sheet_setup_cfg_t cfg, int (*chk_copy_pen)(void *udata, csch_sheet_t *dst, csch_cpen_t *p), void *udata);