A library for a decentralised peer-to-peer chat over IPv6 only.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

bootstrap.c 301B

hace 5 años
12345678910111213141516171819
  1. #include <stdio.h>
  2. #include "../inc/lc6_config.h"
  3. int main(int argc, char **argv) {
  4. LC6_CTX *conf = NULL;
  5. if ( argc == 2 ) {
  6. conf = lc6config_load(argv[1], "");
  7. lc6config_save(conf, "");
  8. }
  9. else {
  10. fprintf(stderr,"Usage: %s <path to config dir>\n", argv[0]);
  11. return -1;
  12. }
  13. return 0;
  14. }