~ubuntu-branches/ubuntu/saucy/openvpn/saucy-proposed

« back to all changes in this revision

Viewing changes to tap-win32/resource.rc

  • Committer: Package Import Robot
  • Author(s): Stéphane Graber
  • Date: 2013-05-24 17:42:45 UTC
  • mfrom: (1.1.19) (10.2.22 sid)
  • Revision ID: package-import@ubuntu.com-20130524174245-g9y6wlforycufqy5
Tags: 2.3.1-2ubuntu1
* Merge from Debian unstable. Remaining changes:
  - debian/openvpn.init.d:
    + Do not use start-stop-daemon and </dev/null to avoid blocking boot.
    + Show per-VPN result messages.
    + Add "--script-security 2" by default for backwards compatabliity.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#include <windows.h>
2
 
#include <ntverp.h>
3
 
 
4
 
/* get VERSION */
5
 
#include "common.h"
6
 
 
7
 
/* VER_FILETYPE, VER_FILESUBTYPE, VER_FILEDESCRIPTION_STR
8
 
 * and VER_INTERNALNAME_STR must be defined before including COMMON.VER
9
 
 * The strings don't need a '\0', since common.ver has them.
10
 
 */
11
 
 
12
 
#define VER_FILETYPE    VFT_DRV
13
 
/* possible values:             VFT_UNKNOWN
14
 
                                VFT_APP
15
 
                                VFT_DLL
16
 
                                VFT_DRV
17
 
                                VFT_FONT
18
 
                                VFT_VXD
19
 
                                VFT_STATIC_LIB
20
 
*/
21
 
#define VER_FILESUBTYPE VFT2_DRV_NETWORK
22
 
/* possible values              VFT2_UNKNOWN
23
 
                                VFT2_DRV_PRINTER
24
 
                                VFT2_DRV_KEYBOARD
25
 
                                VFT2_DRV_LANGUAGE
26
 
                                VFT2_DRV_DISPLAY
27
 
                                VFT2_DRV_MOUSE
28
 
                                VFT2_DRV_NETWORK
29
 
                                VFT2_DRV_SYSTEM
30
 
                                VFT2_DRV_INSTALLABLE
31
 
                                VFT2_DRV_SOUND
32
 
                                VFT2_DRV_COMM
33
 
*/
34
 
 
35
 
#define VER_COMPANYNAME_STR         "The OpenVPN Project"
36
 
#define VER_FILEDESCRIPTION_STR     "TAP-Win32 Virtual Network Driver"
37
 
#define VER_ORIGINALFILENAME_STR    TAP_COMPONENT_ID ".sys"
38
 
#define VER_LEGALCOPYRIGHT_YEARS    "2003-2010"
39
 
#define VER_LEGALCOPYRIGHT_STR      "OpenVPN Technologies, Inc."
40
 
 
41
 
 
42
 
#define VER_PRODUCTNAME_STR         VER_FILEDESCRIPTION_STR
43
 
#define VER_PRODUCTVERSION          TAP_DRIVER_MAJOR_VERSION,00,00,TAP_DRIVER_MINOR_VERSION
44
 
 
45
 
#define XSTR(s) STR(s)
46
 
#define STR(s) #s
47
 
 
48
 
#define VSTRING PACKAGE_VERSION " " XSTR(TAP_DRIVER_MAJOR_VERSION) "/" XSTR(TAP_DRIVER_MINOR_VERSION)
49
 
 
50
 
#ifdef DBG
51
 
#define VER_PRODUCTVERSION_STR      VSTRING " (DEBUG)"
52
 
#else
53
 
#define VER_PRODUCTVERSION_STR      VSTRING
54
 
#endif
55
 
 
56
 
#define VER_INTERNALNAME_STR        VER_ORIGINALFILENAME_STR
57
 
 
58
 
#include "common.ver"