ifupdown-ng/libifupdown
Maximilian Wilhelm f51c976b52 dict: Add lif_dict_add_once()
Add a function to add a key/value pair to the dict only if it doesn't exist
  within the dict already.

  As the dict is type agnostic this requires a comparator function to be given.

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
2020-07-28 22:44:22 +02:00
..
dict.c dict: Add lif_dict_add_once() 2020-07-28 22:44:22 +02:00
dict.h dict: Add lif_dict_add_once() 2020-07-28 22:44:22 +02:00
environment.c environment: fix up memory accesses when building envp 2020-07-23 09:43:09 -06:00
environment.h libifupdown: add environment management routines 2020-07-23 05:30:25 -06:00
execute.c libifupdown: execute: fix behavior of lif_file_is_executable() 2020-07-25 02:49:44 -06:00
execute.h lifecycle: expose INTERFACES_FILE env var to executors 2020-07-26 02:50:01 -06:00
fgetline.c add fgetline(3) implementation 2020-07-18 18:13:54 -06:00
fgetline.h add fgetline(3) implementation 2020-07-18 18:13:54 -06:00
interface-file.c interface: always attach "use link" executor 2020-07-26 03:29:16 -06:00
interface-file.h add stub lif_interface_file_parse() 2020-07-18 18:02:25 -06:00
interface.c interface: always attach "use link" executor 2020-07-26 03:29:16 -06:00
interface.h simplify loopback 2020-07-26 02:59:15 -06:00
libifupdown.h libifupdown: inline the tokenization functions 2020-07-24 04:12:42 -06:00
lifecycle.c lifecycle: handle_commands_for_phase(): drop unused lifname variable 2020-07-26 03:39:58 -06:00
lifecycle.h lifecycle: implement requires keyword 2020-07-24 03:42:34 -06:00
list.c list: remove #if 0 part 2020-07-18 01:59:33 -06:00
list.h list: fix LIF_LIST_FOREACH_SAFE 2020-07-18 03:01:15 -06:00
state.c state: don't consider missing state file to be a fatal error 2020-07-24 07:13:04 -06:00
state.h state: add ability to sync a state to if_collection cache 2020-07-24 04:48:50 -06:00
tokenize.h libifupdown: inline the tokenization functions 2020-07-24 04:12:42 -06:00
version.c add ifquery --version 2020-07-18 19:09:08 -06:00
version.h add ifquery --version 2020-07-18 19:09:08 -06:00