Show
Ignore:
Timestamp:
05/13/06 20:33:09 (3 years ago)
Author:
jvw
Message:

Logfile size-limit and automatic logfile rotation, very useful for crash tracing

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/txlib/include/txlib.h

    r11 r13  
    10921092#define TxaOptStr(o,e,d)        TxaOptionStr(     TXA_CUR,o,e,d) 
    10931093#define TxaOptNum(o,e,d)        TxaOptionNum(     TXA_CUR,o,e,d) 
     1094#define TxaOptBkmg(o,d,m)       TxaOptionBkmg(    TXA_CUR,o,d,m) 
    10941095#define TxaOptValue(o)          TxaGetOption(     TXA_CUR,o) 
    10951096#define TxaOptCount()           TxaGetOptc(       TXA_CUR  ) 
     
    11051106#define TxaExeSwitchStr(o,e,d)  TxaOptionStr(     TXA_1ST,o,e,d) 
    11061107#define TxaExeSwitchNum(o,e,d)  TxaOptionNum(     TXA_1ST,o,e,d) 
     1108#define TxaExeSwitchBkmg(o,d,m) TxaOptionBkmg(    TXA_1ST,o,d,m) 
    11071109#define TxaExeSwitchValue(o)    TxaGetOption(     TXA_1ST,o) 
    11081110#define TxaExeOptc()            TxaGetOptc(       TXA_1ST  ) 
     
    12801282   char               *error,                   // IN    error text or NULL 
    12811283   ULONG               deflt                    // IN    default value 
     1284); 
     1285 
     1286// Get option value num/string, with bytes/kilo/mega/giga modifier and default 
     1287ULONG TxaOptionBkmg                             // RET   number value in bytes 
     1288( 
     1289   TXHANDLE            txh,                     // IN    TXA handle 
     1290   char                option,                  // IN    option character 
     1291   ULONG               def,                     // IN    default value 
     1292   BYTE                mod                      // IN    b,kb,mb,gb modifier 
    12821293); 
    12831294