lynx2gph

Unnamed repository; edit this file 'description' to name the repository.
git clone https://git.inz.fi/lynx2gph
Log | Files | Refs | README

config.h (737B)


      1 static const struct {
      2 	char type;
      3 	const char *name;
      4 } typemap[] = {
      5 	{ '0', "txt" },
      6 	{ '0', "md" },
      7 	{ '0', "sh" },
      8 	{ '0', "mk" },
      9 	{ '0', "c" },
     10 	{ '0', "h" },
     11 	{ '0', "pl" },
     12 	{ '0', "s" },
     13 	{ '0', "css" },
     14 	{ '0', "js" },
     15 	{ '0', "xml" },
     16 	{ '0', "mbox" },
     17 	{ '0', "sha256" },
     18 	{ '0', "patch" },
     19 	{ '0', "diff" },
     20 	{ '0', "conf" },
     21 	{ '0', "vim" },
     22 	{ '0', "Makefile" },
     23 	{ '0', "README" },
     24 	{ '0', "TODO" },
     25 	{ '0', "cgitrc" },
     26 	{ '1', "gophermap" },
     27 	{ '1', "gph" },
     28 	{ 'h', "html" },
     29 	{ 'h', "htm" },
     30 	{ 'I', "gif" },
     31 	{ 'I', "png" },
     32 	{ 'I', "webp" },
     33 	{ 'I', "jpg" },
     34 	{ 'I', "jpeg" },
     35 	{ 'I', "bmp" },
     36 	{ 'I', "xpm" },
     37 };
     38 
     39 static const char default_type = '9';
     40 
     41 static const char *gph_prefixes[] = {
     42 	"pages/",
     43 	"posts/",
     44 };