aboutsummaryrefslogtreecommitdiff
path: root/project/dclib/dclib-basics.h
diff options
context:
space:
mode:
authorWiimm <wiimm@wiimm.de>2022-08-27 10:27:15 +0200
committerWiimm <wiimm@wiimm.de>2022-08-27 10:27:15 +0200
commit159e76837a2582682d81943b3fa963d72141337f (patch)
treedd680c373f8ce2002cdc5f3272f8a1fadef44bd6 /project/dclib/dclib-basics.h
parent7fad9e9383d01cce3ac17176404e1ab4e738736c (diff)
SZS v2.28a
Diffstat (limited to 'project/dclib/dclib-basics.h')
-rw-r--r--project/dclib/dclib-basics.h12
1 files changed, 11 insertions, 1 deletions
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 );