"Fossies" - the Fresh Open Source Software Archive

Member "links-1.03/setup.h" (20 Sep 2011, 2647 Bytes) of archive /linux/www/links-1.03.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "setup.h" see the Fossies "Dox" file reference documentation and the latest Fossies "Diffs" side-by-side code changes report: 2.8_vs_1.03.

    1 #if 0
    2 #define VERSION_STRING          VERSION " ["__DATE__ " " __TIME__"]"
    3 #else
    4 #define VERSION_STRING          VERSION
    5 #endif
    6 
    7 #if 0
    8 #define DEBUG
    9 #define LEAK_DEBUG
   10 #define LEAK_DEBUG_LIST
   11 #endif
   12 
   13 #define LINKS_MANUAL_URL        "http://links.sourceforge.net/docs/manual-0.90-en/"
   14 
   15 #define LINKS_SOCK_NAME         "socket"
   16 #define LINKS_PORT          23456
   17 #define MAX_BIND_TRIES          3
   18 
   19 #define FG_POLL_TIME            500
   20 
   21 #define DNS_TIMEOUT         3600000UL
   22 
   23 #define HTTP_KEEPALIVE_TIMEOUT      60000
   24 #define FTP_KEEPALIVE_TIMEOUT       600000
   25 #define MAX_KEEPALIVE_CONNECTIONS   30
   26 #define KEEPALIVE_CHECK_TIME        20000
   27 
   28 #define MAX_REDIRECTS           10
   29 #define MAX_CACHED_REDIRECTS        5
   30 
   31 #define DOWNLOAD_NAME_TRIES     10000
   32 
   33 #define MEMORY_CACHE_GC_PERCENT     9/10
   34 #define MAX_CACHED_OBJECT       1/4
   35 
   36 #define MAX_HISTORY_ITEMS       4096
   37 #define MENU_HOTKEY_SPACE       2
   38 
   39 #define COL(x)              ((x)*0x100)
   40 
   41 #define COLOR_MENU          COL(070)
   42 #define COLOR_MENU_FRAME        COL(070)
   43 #define COLOR_MENU_SELECTED     COL(007)
   44 #define COLOR_MENU_HOTKEY       COL(007)
   45 
   46 #define COLOR_MAINMENU          COL(070)
   47 #define COLOR_MAINMENU_SELECTED     COL(007)
   48 #define COLOR_MAINMENU_HOTKEY       COL(070)
   49 
   50 #define COLOR_DIALOG            COL(070)
   51 #define COLOR_DIALOG_FRAME      COL(070)
   52 #define COLOR_DIALOG_TITLE      COL(007)
   53 #define COLOR_DIALOG_TEXT       COL(070)
   54 #define COLOR_DIALOG_CHECKBOX       COL(070)
   55 #define COLOR_DIALOG_CHECKBOX_TEXT  COL(070)
   56 #define COLOR_DIALOG_BUTTON     COL(070)
   57 #define COLOR_DIALOG_BUTTON_SELECTED    COL(0107)
   58 #define COLOR_DIALOG_FIELD      COL(007)
   59 #define COLOR_DIALOG_FIELD_TEXT     COL(007)
   60 #define COLOR_DIALOG_METER      COL(007)
   61 
   62 #define SCROLL_ITEMS            2
   63 
   64 #define DIALOG_LEFT_BORDER      3
   65 #define DIALOG_TOP_BORDER       1
   66 #define DIALOG_LEFT_INNER_BORDER    2
   67 #define DIALOG_TOP_INNER_BORDER     0
   68 #define DIALOG_FRAME            2
   69 
   70 #define DIALOG_LB   (DIALOG_LEFT_BORDER + DIALOG_LEFT_INNER_BORDER + 1)
   71 #define DIALOG_TB   (DIALOG_TOP_BORDER + DIALOG_TOP_INNER_BORDER + 1)
   72 
   73 #define COLOR_TITLE         COL(007)
   74 #define COLOR_TITLE_BG          COL(007)
   75 #define COLOR_STATUS            COL(070)
   76 #define COLOR_STATUS_BG         COL(007)
   77 
   78 #define ESC_TIMEOUT         200
   79 
   80 #define DISPLAY_TIME_MIN        200
   81 #define DISPLAY_TIME            20
   82 
   83 #define HTML_LEFT_MARGIN        3
   84 #define HTML_MAX_TABLE_LEVEL        10
   85 #define HTML_MAX_FRAME_DEPTH        5
   86 #define HTML_CHAR_WIDTH         7
   87 #define HTML_CHAR_HEIGHT        12
   88 #define HTML_FRAME_CHAR_WIDTH       10
   89 #define HTML_FRAME_CHAR_HEIGHT      16
   90 #define HTML_TABLE_2ND_PASS
   91 #define HTML_DEFAULT_INPUT_SIZE     20
   92 #define HTML_DEFAULT_TEXTAREA_WIDTH 40
   93 #define HTML_DEFAULT_TEXTAREA_HEIGHT    7
   94 
   95 #define MAX_INPUT_URL_LEN       4096
   96 
   97 #define SPD_DISP_TIME           100
   98 #define CURRENT_SPD_SEC         50
   99 #define CURRENT_SPD_AFTER       100
  100 
  101 #define RESOURCE_INFO_REFRESH       100
  102 
  103 #define DOWN_DLG_MIN            20
  104 
  105 #define MAX_UID_LEN         20
  106 #define MAX_PASSWD_LEN          20