29 #include <openssl/sha.h>
32 #include <citrusleaf/cf_crypto.h>
34 #include <aerospike/as_result.h>
35 #include <aerospike/as_types.h>
49 typedef struct cl_udf_file_s {
56 typedef struct cl_udf_info_s {
90 cl_udf_type udf_type,
char **
error);
100 cl_udf_type udf_type,
char ** gen,
char **
error) ;
108 cl_udf_type udf_type,
char **
error);
cl_rv citrusleaf_udf_record_apply(cl_cluster *cluster, const char *ns, const char *set, const cl_object *key, const char *filename, const char *function, as_list *arglist, int timeout, as_result *result)
#define info(fmt, args...)
cl_rv citrusleaf_udf_remove(cl_cluster *cluster, const char *filename, char **error)
cl_rv citrusleaf_udf_get(cl_cluster *cluster, const char *filename, cl_udf_file *file, cl_udf_type udf_type, char **error)
cl_rv citrusleaf_udf_list(cl_cluster *cluster, cl_udf_file **files, int *count, char **error)
void cl_udf_info_destroy(cl_udf_info *info)
cl_rv citrusleaf_udf_get_with_gen(cl_cluster *cluster, const char *filename, cl_udf_file *file, cl_udf_type udf_type, char **gen, char **error)
#define CF_SHA_HEX_BUFF_LEN
#define error(fmt, args...)
cl_rv citrusleaf_udf_put(cl_cluster *cluster, const char *filename, as_bytes *content, cl_udf_type udf_type, char **error)