From 159e76837a2582682d81943b3fa963d72141337f Mon Sep 17 00:00:00 2001 From: Wiimm Date: Sat, 27 Aug 2022 10:27:15 +0200 Subject: SZS v2.28a --- project/dclib/dclib-basics.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'project/dclib/dclib-basics.h') diff --git a/project/dclib/dclib-basics.h b/project/dclib/dclib-basics.h index d15997c..9df963c 100644 --- a/project/dclib/dclib-basics.h +++ b/project/dclib/dclib-basics.h @@ -6085,9 +6085,13 @@ ccp * InsertStringFieldHelper ( StringField_t * sf, int idx ); // append at the end and do not sort void AppendStringField ( StringField_t * sf, ccp key, bool move_key ); -// append at the end if nor already exists, do not sort +// append at the end if not already exists, do not sort void AppendUniqueStringField ( StringField_t * sf, ccp key, bool move_key ); +// insert or append a path (path1+path2) with optional wildcards by SearchPaths() +uint InsertStringFieldExpand ( StringField_t * sf, ccp path1, ccp path2, bool allow_hidden ); +uint AppendStringFieldExpand ( StringField_t * sf, ccp path1, ccp path2, bool allow_hidden ); + // re-sort field using sf->func_cmp() void SortStringField ( StringField_t * sf ); @@ -6199,6 +6203,12 @@ bool RemoveParamField ( ParamField_t * pf, ccp key ); ParamFieldItem_t * AppendParamField ( ParamField_t * pf, ccp key, bool move_key, uint num, cvp data ); +// insert or append a path (path1+path2) with optional wildcards by SearchPaths() +uint InsertParamFieldExpand + ( ParamField_t * pf, ccp path1, ccp path2, bool allow_hidden, uint num, cvp data ); +uint AppendParamFieldExpand + ( ParamField_t * pf, ccp path1, ccp path2, bool allow_hidden, uint num, cvp data ); + // return the index of the (next) item uint FindParamFieldHelper ( const ParamField_t * pf, bool * found, ccp key ); -- cgit v1.3.1