cctools
jx_function.h
1/*
2Copyright (C) 2022 The University of Notre Dame
3This software is distributed under the GNU General Public License.
4See the file COPYING for details.
5*/
6
7#ifndef JX_FUNCTION_H
8#define JX_FUNCTION_H
9
10#include "jx.h"
11#include <stdio.h>
12
13struct jx *jx_function_eval(const char *funcname, struct jx *args, struct jx *ctx);
14struct jx *jx_function_sub(const char *funcname, struct jx *args, struct jx *ctx);
15void jx_function_help(FILE *file);
16
17struct jx *jx_function_range(struct jx *args);
18struct jx *jx_function_format(struct jx *args);
19struct jx *jx_function_join(struct jx *args);
20struct jx *jx_function_ceil(struct jx *args);
21struct jx *jx_function_floor(struct jx *args);
22struct jx *jx_function_basename(struct jx *args);
23struct jx *jx_function_dirname(struct jx *args);
24struct jx *jx_function_listdir(struct jx *args);
25struct jx *jx_function_escape(struct jx *args);
26struct jx *jx_function_template(struct jx *args, struct jx *ctx);
27struct jx *jx_function_len(struct jx *args);
28struct jx *jx_function_fetch(struct jx *args);
29struct jx *jx_function_select(struct jx *args, struct jx *ctx);
30struct jx *jx_function_project(struct jx *args, struct jx *ctx);
31struct jx *jx_function_schema(struct jx *args);
32struct jx *jx_function_like(struct jx *args);
33struct jx *jx_function_keys(struct jx *args);
34struct jx *jx_function_values(struct jx *args);
35struct jx *jx_function_items(struct jx *args);
36
37#endif
JSON Expressions (JX) library.
JX value representing any expression type.
Definition jx.h:117