src/pEp_internal.h
changeset 450 ae04b9c42932
parent 409 bd7502e91601
child 456 59be449d1aca
     1.1 --- a/src/pEp_internal.h	Tue Feb 16 18:34:57 2016 +0100
     1.2 +++ b/src/pEp_internal.h	Sat Feb 20 14:43:28 2016 +0100
     1.3 @@ -1,4 +1,4 @@
     1.4 -#define PEP_ENGINE_VERSION "0.5.0"
     1.5 +#define PEP_ENGINE_VERSION "0.6.0"
     1.6  
     1.7  // this is 20 trustwords with 79 chars max
     1.8  #define MAX_TRUSTWORDS_SPACE (20 * 80)
     1.9 @@ -13,7 +13,15 @@
    1.10  #define MAX_LINELENGTH 1024
    1.11  
    1.12  // default keyserver
    1.13 +#ifndef DEFAULT_KEYSERVER
    1.14  #define DEFAULT_KEYSERVER "hkp://keys.gnupg.net"
    1.15 +#endif
    1.16 +
    1.17 +// crashdump constants
    1.18 +#ifndef CRASHDUMP_DEFAULT_LINES
    1.19 +#define CRASHDUMP_DEFAULT_LINES 100
    1.20 +#endif
    1.21 +#define CRASHDUMP_MAX_LINES 32767
    1.22  
    1.23  #include "platform.h"
    1.24  
    1.25 @@ -88,6 +96,7 @@
    1.26      sqlite3_stmt *least_trust;
    1.27      sqlite3_stmt *mark_compromized;
    1.28      sqlite3_stmt *reset_trust;
    1.29 +    sqlite3_stmt *crashdump;
    1.30  
    1.31      examine_identity_t examine_identity;
    1.32      void *examine_management;