~ubuntu-branches/debian/lenny/italc/lenny

« back to all changes in this revision

Viewing changes to ica/win32/src/stdhdrs.h

  • Committer: Bazaar Package Importer
  • Author(s): Patrick Winnertz
  • Date: 2008-06-17 13:46:54 UTC
  • mto: This revision was merged to the branch mainline in revision 5.
  • Revision ID: james.westby@ubuntu.com-20080617134654-2y5m7ki93r5c1ysf
Tags: upstream-1.0.9~rc3
ImportĀ upstreamĀ versionĀ 1.0.9~rc3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//  Copyright (C) 1999 AT&T Laboratories Cambridge. All Rights Reserved.
 
2
//
 
3
//  This file is part of the VNC system.
 
4
//
 
5
//  The VNC system is free software; you can redistribute it and/or modify
 
6
//  it under the terms of the GNU General Public License as published by
 
7
//  the Free Software Foundation; either version 2 of the License, or
 
8
//  (at your option) any later version.
 
9
//
 
10
//  This program is distributed in the hope that it will be useful,
 
11
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
//  GNU General Public License for more details.
 
14
//
 
15
//  You should have received a copy of the GNU General Public License
 
16
//  along with this program; if not, write to the Free Software
 
17
//  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
 
18
//  USA.
 
19
//
 
20
// TightVNC distribution homepage on the Web: http://www.tightvnc.com/
 
21
//
 
22
// If the source code for the VNC system is not available from the place 
 
23
// whence you received this file, check http://www.uk.research.att.com/vnc or contact
 
24
// the authors on vnc@uk.research.att.com for information on obtaining it.
 
25
 
 
26
 
 
27
// #define VC_EXTRALEAN
 
28
#ifndef STRICT
 
29
#define STRICT
 
30
#endif
 
31
 
 
32
#include <winsock2.h>
 
33
#include <windows.h>
 
34
#include <stdio.h>
 
35
#include <process.h>
 
36
#include <crtdbg.h>
 
37
 
 
38
// LOGGING SUPPORT
 
39
 
 
40
#include "Log.h"
 
41
extern Log vnclog;
 
42
 
 
43
// No logging at all
 
44
#define LL_NONE         0
 
45
// Log server startup/shutdown
 
46
#define LL_STATE        0
 
47
// Log connect/disconnect
 
48
#define LL_CLIENTS      1
 
49
// Log connection errors (wrong pixfmt, etc)
 
50
#define LL_CONNERR      0
 
51
// Log socket errors
 
52
#define LL_SOCKERR      4
 
53
// Log internal errors
 
54
#define LL_INTERR       0
 
55
 
 
56
// Log internal warnings
 
57
#define LL_INTWARN      8
 
58
// Log internal info
 
59
#define LL_INTINFO      9
 
60
// Log socket errors
 
61
#define LL_SOCKINFO     10
 
62
// Log everything, including internal table setup, etc.
 
63
#define LL_ALL          10
 
64