Changeset 22 in Main for trunk/Server/tw_config.h


Ignore:
Timestamp:
Sep 14, 2024, 10:25:38 PM (2 months ago)
Author:
Nishi
Message:

icon works

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Server/tw_config.h

    r21 r22  
    2222#endif
    2323
    24 #define MAX_PORTS       1024
    25 #define MAX_VHOSTS      1024
    26 #define MAX_MODULES     1024
    27 #define MAX_DIRS        1024
    28 #define MAX_MIME        1024
     24#define MAX_PORTS 1024
     25#define MAX_VHOSTS 1024
     26#define MAX_MODULES 1024
     27#define MAX_DIRS 1024
     28#define MAX_MIME 1024
     29#define MAX_ICON 1024
    2930
    3031enum TW_DIR_TYPE {
     
    4445};
    4546
     47struct tw_icon_entry {
     48        char* mime;
     49        char* icon;
     50};
     51
    4652struct tw_config_entry {
    4753        char* name;
     
    5460        struct tw_mime_entry mimes[MAX_DIRS];
    5561        int mime_count;
     62        struct tw_icon_entry icons[MAX_DIRS];
     63        int icon_count;
    5664};
    5765
Note: See TracChangeset for help on using the changeset viewer.