Skip to content

Commit

Permalink
lib/filterx: register startswith/endswith/includes
Browse files Browse the repository at this point in the history
Signed-off-by: Szilard Parrag <[email protected]>
  • Loading branch information
OverOrion committed Sep 23, 2024
1 parent 39c601f commit 599829f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/filterx/filterx-globals.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
#include "filterx/func-len.h"
#include "filterx/func-vars.h"
#include "filterx/func-unset-empties.h"
#include "filterx/func-str.h"
#include "filterx/func-str-transform.h"
#include "filterx/func-flatten.h"
#include "filterx/func-sdata.h"
Expand Down Expand Up @@ -134,6 +135,9 @@ _ctors_init(void)
g_assert(filterx_builtin_function_ctor_register("flatten", filterx_function_flatten_new));
g_assert(filterx_builtin_function_ctor_register("is_sdata_from_enterprise",
filterx_function_is_sdata_from_enterprise_new));
g_assert(filterx_builtin_function_ctor_register("startswith", filterx_function_startswith_new));
g_assert(filterx_builtin_function_ctor_register("endswith", filterx_function_endswith_new));
g_assert(filterx_builtin_function_ctor_register("includes", filterx_function_includes_new));
}

static void
Expand Down

0 comments on commit 599829f

Please sign in to comment.