[go: up one dir, main page]

File: jx_function.h

package info (click to toggle)
cctools 9.9-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 44,624 kB
  • sloc: ansic: 192,539; python: 20,827; cpp: 20,199; sh: 11,719; perl: 4,106; xml: 3,688; makefile: 1,224
file content (37 lines) | stat: -rw-r--r-- 1,407 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*
Copyright (C) 2016- The University of Notre Dame
This software is distributed under the GNU General Public License.
See the file COPYING for details.
*/

#ifndef JX_FUNCTION_H
#define JX_FUNCTION_H

#include "jx.h"
#include <stdio.h>

struct jx *jx_function_eval(const char *funcname, struct jx *args, struct jx *ctx);
struct jx *jx_function_sub(const char *funcname, struct jx *args, struct jx *ctx);
void       jx_function_help(FILE *file);

struct jx *jx_function_range(struct jx *args);
struct jx *jx_function_format(struct jx *args);
struct jx *jx_function_join(struct jx *args);
struct jx *jx_function_ceil(struct jx *args);
struct jx *jx_function_floor(struct jx *args);
struct jx *jx_function_basename(struct jx *args);
struct jx *jx_function_dirname(struct jx *args);
struct jx *jx_function_listdir(struct jx *args);
struct jx *jx_function_escape(struct jx *args);
struct jx *jx_function_template(struct jx *args, struct jx *ctx);
struct jx *jx_function_len(struct jx *args);
struct jx *jx_function_fetch(struct jx *args);
struct jx *jx_function_select(struct jx *args, struct jx *ctx);
struct jx *jx_function_project(struct jx *args, struct jx *ctx);
struct jx *jx_function_schema(struct jx *args);
struct jx *jx_function_like(struct jx *args);
struct jx *jx_function_keys(struct jx *args);
struct jx *jx_function_values(struct jx *args);
struct jx *jx_function_items(struct jx *args);

#endif