1 headers functions
forgejo docs edited this page 2026-11-17 18:02:00 +00:00

Header functions

This file contains the definitions and documentation of the functions

Go back to homepage
Skip to files index

Defined in this file

The following 40 functions are referenced here

function append_pair

Go back to top

int append_pair(pair * __arg_no_1, char * name, char * value);

Defined in src/cl/pairs.h:14

Return type

int

Arguments

  1. __arg_no_1 : pair *
  2. name : char *
  3. value : char *

function arg_value

Go back to top

char * arg_value(int __arg_no_1, char * __arg_no_2[], char * __arg_no_3);

Defined in src/aux/args.h:21

Return type

char *

Arguments

  1. __arg_no_1 : int
  2. __arg_no_2 : char * []
  3. __arg_no_3 : char *

function create_pair

Go back to top

pair create_pair(char * name, char * value);

Defined in src/cl/pairs.h:12

Return type

pair

Arguments

  1. name : char *
  2. value : char *

function copy_rec

Go back to top

int copy_rec(char * base_source, char * base_dest, char * restpath, chained_cell includes, int recursion_level, char ** selected_features, int selected_features_size);

Defined in src/aux/tools.h:9

Return type

int

Arguments

  1. base_source : char *
  2. base_dest : char *
  3. restpath : char *
  4. includes : chained_cell
  5. recursion_level : int
  6. selected_features : char **
  7. selected_features_size : int

function destroy_pair

Go back to top

void destroy_pair(pair __arg_no_1);

Defined in src/cl/pairs.h:13

Return type

void

Arguments

  1. __arg_no_1 : pair

function destroy_plib_config

Go back to top

void destroy_plib_config(plib_config __arg_no_1);

Defined in src/core/config.h:20

Return type

void

Arguments

  1. __arg_no_1 : plib_config

function display_list

Go back to top

void display_list(char * __arg_no_1);

Defined in src/commands/commands.h:5

Return type

void

Arguments

  1. __arg_no_1 : char *

function display_info

Go back to top

int display_info(char * libspath, char * name);

Defined in src/commands/commands.h:9

Return type

int

Arguments

  1. libspath : char *
  2. name : char *

function default_config

Go back to top

psyncconfig default_config();

Defined in src/commands/sync.h:19

Return type

psyncconfig

Arguments

No arguments

function destroy_array

Go back to top

void destroy_array(char ** __arg_no_1, int __arg_no_2);

Defined in src/commands/core.h:8

Return type

void

Arguments

  1. __arg_no_1 : char **
  2. __arg_no_2 : int

function exists

Go back to top

int exists(pair __arg_no_1, char * name);

Defined in src/cl/pairs.h:16

Return type

int

Arguments

  1. __arg_no_1 : pair
  2. name : char *

function exec_command

Go back to top

int exec_command(char * __arg_no_1[]);

Defined in src/aux/tools.h:8

Return type

int

Arguments

  1. __arg_no_1 : char * []

function find_all

Go back to top

int find_all(int __arg_no_1, char * __arg_no_2[], struct arg_input __arg_no_3, int __arg_no_4);

Defined in src/aux/args.h:24

Return type

int

Arguments

  1. __arg_no_1 : int
  2. __arg_no_2 : char * []
  3. __arg_no_3 : struct arg_input
  4. __arg_no_4 : int

function get_value

Go back to top

char * get_value(pair __arg_no_1, char * name);

Defined in src/cl/pairs.h:15

Return type

char *

Arguments

  1. __arg_no_1 : pair
  2. name : char *

function get_int

Go back to top

int get_int(int __arg_no_1, char * __arg_no_2[], char * __arg_no_3, int * __arg_no_4);

Defined in src/aux/args.h:22

Return type

int

Arguments

  1. __arg_no_1 : int
  2. __arg_no_2 : char * []
  3. __arg_no_3 : char *
  4. __arg_no_4 : int *

function get_uniq_deps

Go back to top

chained_cell get_uniq_deps(plib_config __arg_no_1);

Defined in src/aux/tools.h:10

Return type

chained_cell

Arguments

  1. __arg_no_1 : plib_config

function generate_config

Go back to top

int generate_config(char * outputname, char * depstring, char * featuresstring);

Defined in src/commands/commands.h:8

Return type

int

Arguments

  1. outputname : char *
  2. depstring : char *
  3. featuresstring : char *

function in_args

Go back to top

int in_args(int __arg_no_1, char * __arg_no_2[], char * __arg_no_3);

Defined in src/aux/args.h:20

Return type

int

Arguments

  1. __arg_no_1 : int
  2. __arg_no_2 : char * []
  3. __arg_no_3 : char *

function install

Go back to top

int install(char * path, char * name, char * dest, char * includes, char * features);

Defined in src/commands/commands.h:6

Return type

int

Arguments

  1. path : char *
  2. name : char *
  3. dest : char *
  4. includes : char *
  5. features : char *

function is_sys

Go back to top

int is_sys(char * __arg_no_1);

Defined in src/commands/commands.h:7

Return type

int

Arguments

  1. __arg_no_1 : char *

function parse_config_file

Go back to top

plib_config parse_config_file(char * __arg_no_1);

Defined in src/core/config.h:19

Return type

plib_config

Arguments

  1. __arg_no_1 : char *

function read_sync_config_file

Go back to top

psyncconfig read_sync_config_file(char * __arg_no_1, int * __arg_no_2);

Defined in src/commands/sync.h:17

Return type

psyncconfig

Arguments

  1. __arg_no_1 : char *
  2. __arg_no_2 : int *

function read_config_file

Go back to top

char ** read_config_file(char * input, int * psize);

Defined in src/commands/core.h:7

Return type

char **

Arguments

  1. input : char *
  2. psize : int *

function stringcl_create

Go back to top

chained_cell stringcl_create(char * __arg_no_1);

Defined in src/cl/string_cl.h:10

Return type

chained_cell

Arguments

  1. __arg_no_1 : char *

function stringcl_destroy

Go back to top

void stringcl_destroy(chained_cell * __arg_no_1);

Defined in src/cl/string_cl.h:11

Return type

void

Arguments

  1. __arg_no_1 : chained_cell *

function stringcl_destroy_nofree

Go back to top

void stringcl_destroy_nofree(chained_cell * __arg_no_1);

Defined in src/cl/string_cl.h:12

Return type

void

Arguments

  1. __arg_no_1 : chained_cell *

function stringcl_size

Go back to top

unsigned long int stringcl_size(chained_cell __arg_no_1);

Defined in src/cl/string_cl.h:13

Return type

unsigned long int

Arguments

  1. __arg_no_1 : chained_cell

function stringcl_append

Go back to top

int stringcl_append(chained_cell * __arg_no_1, char * __arg_no_2);

Defined in src/cl/string_cl.h:14

Return type

int

Arguments

  1. __arg_no_1 : chained_cell *
  2. __arg_no_2 : char *

function stringcl_exists

Go back to top

int stringcl_exists(chained_cell __arg_no_1, char * __arg_no_2);

Defined in src/cl/string_cl.h:15

Return type

int

Arguments

  1. __arg_no_1 : chained_cell
  2. __arg_no_2 : char *

function stringcl_remove

Go back to top

int stringcl_remove(chained_cell * __arg_no_1, char * __arg_no_2);

Defined in src/cl/string_cl.h:16

Return type

int

Arguments

  1. __arg_no_1 : chained_cell *
  2. __arg_no_2 : char *

function stringcl_removep

Go back to top

int stringcl_removep(chained_cell * __arg_no_1, chained_cell __arg_no_2);

Defined in src/cl/string_cl.h:17

Return type

int

Arguments

  1. __arg_no_1 : chained_cell *
  2. __arg_no_2 : chained_cell

function stringcl_foreach

Go back to top

void stringcl_foreach(chained_cell __arg_no_1, void * __arg_no_2, void callback(chained_cell, void * __arg_no_4);

Defined in src/cl/string_cl.h:18

Return type

void

Arguments

  1. __arg_no_1 : chained_cell
  2. __arg_no_2 : void *
  3. callback(chained_cell : void
  4. __arg_no_4 : void *

function stringcl_to_array

Go back to top

char ** stringcl_to_array(chained_cell __arg_no_1, unsigned long * __arg_no_2);

Defined in src/cl/string_cl.h:19

Return type

char **

Arguments

  1. __arg_no_1 : chained_cell
  2. __arg_no_2 : unsigned long *

function streq

Go back to top

int streq(char * __arg_no_1, char * __arg_no_2);

Defined in src/aux/tools.h:7

Return type

int

Arguments

  1. __arg_no_1 : char *
  2. __arg_no_2 : char *

function save_sync_config_file

Go back to top

int save_sync_config_file(char * __arg_no_1, psyncconfig __arg_no_2);

Defined in src/commands/sync.h:18

Return type

int

Arguments

  1. __arg_no_1 : char *
  2. __arg_no_2 : psyncconfig

function sync_database

Go back to top

int sync_database(psyncconfig __arg_no_1, char * __arg_no_2);

Defined in src/commands/sync.h:21

Return type

int

Arguments

  1. __arg_no_1 : psyncconfig
  2. __arg_no_2 : char *

function setup

Go back to top

void setup(char * __arg_no_1);

Defined in src/commands/core.h:6

Return type

void

Arguments

  1. __arg_no_1 : char *

function update_config

Go back to top

int update_config(psyncconfig __arg_no_1, char * __arg_no_2);

Defined in src/commands/commands.h:12

Return type

int

Arguments

  1. __arg_no_1 : psyncconfig
  2. __arg_no_2 : char *

function version

Go back to top

int version();

Defined in src/commands/commands.h:10

Return type

int

Arguments

No arguments

function write_config_file

Go back to top

int write_config_file(plib_config __arg_no_1, char * __arg_no_2);

Defined in src/core/config.h:21

Return type

int

Arguments

  1. __arg_no_1 : plib_config
  2. __arg_no_2 : char *

Indexed files