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