Go to the documentation of this file. 1 #include "../csm/csm_all.h"
4 int main(
int argc,
const char * argv[]) {
12 sm_info(
"%s : reads a JSON stream and copies it multiplied by n."
13 "\n\nOptions:\n", (
char*)argv[0]);
22 if(feof(stdin))
break;
28 int i;
for(i=0;i<n;i++) {
void sm_set_program_name(const char *name)
int main(int argc, const char *argv[])
struct option * options_allocate(int n)
void options_int(struct option *, const char *name, int *p, int def_value, const char *desc)
JO json_read_stream(FILE *f)
void sm_info(const char *msg,...)
void options_print_help(struct option *options, FILE *f)
void sm_error(const char *msg,...)
int options_parse_args(struct option *ops, int argc, const char *argv[])
const char * json_object_to_json_string(struct json_object *this)
csm
Author(s): Andrea Censi
autogenerated on Wed Aug 17 2022 02:50:33