]> git.ozlabs.org Git - ccan/blob - ccan/str/base32/_info
str/base32: new module.
[ccan] / ccan / str / base32 / _info
1 #include "config.h"
2 #include <stdio.h>
3 #include <string.h>
4
5 /**
6  * str/base32 - RFC4648 base32 encoder/decoder.
7  *
8  * This code implements RFC4638 encoding, but you should use bech32 for most
9  * things anyway.
10  *
11  * License: CC0 (Public domain)
12  * Author: Rusty Russell <rusty@rustcorp.com.au>
13  */
14 int main(int argc, char *argv[])
15 {
16         /* Expect exactly one argument */
17         if (argc != 2)
18                 return 1;
19
20         if (strcmp(argv[1], "depends") == 0) {
21                 printf("ccan/endian\n");
22                 return 0;
23         }
24
25         return 1;
26 }