filetypes.h - geomyidae - A small C-based gopherd.
 (HTM) git clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/geomyidae/
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Tags
 (DIR) README
 (DIR) LICENSE
       ---
       filetypes.h (851B)
       ---
            1 /*
            2  * Copy me if you can.
            3  * by 20h
            4  */
            5 
            6 #ifndef FILETYPES_H
            7 #define FILETYPES_H
            8 
            9 #include "ind.h"
           10 
           11 /*
           12  * Before adding any filetype, see the comment in ind.c.
           13  */
           14 
           15 filetype type[] = {
           16         {"default", "9", handlebin},
           17         {"gph", "1", handlegph},
           18         {"cgi", "0", handlecgi},
           19         {"dcgi", "1", handledcgi},
           20         {"bob", "0", handlecgi},
           21         {"dbob", "1", handledcgi},
           22         {"bin", "9", handlebin},
           23         {"tgz", "9", handlebin},
           24         {"gz", "9", handlebin},
           25         {"jpg", "I", handlebin},
           26         {"gif", "g", handlebin},
           27         {"png", "I", handlebin},
           28         {"bmp", "I", handlebin},
           29         {"txt", "0", handlebin},
           30         {"vtt", "0", handlebin},
           31         {"html", "0", handlebin},
           32         {"htm", "0", handlebin},
           33         {"xhtml", "0", handlebin},
           34         {"css", "0", handlebin},
           35         {"md", "0", handlebin},
           36         {"c", "0", handlebin},
           37         {"sh", "0", handlebin},
           38         {"patch", "0", handlebin},
           39         {"meme", "0", handlebin},
           40         {NULL, NULL, NULL},
           41 };
           42 
           43 #endif
           44