source: nscp/trunk/StdAfx.h @ cf47c24

Last change on this file since cf47c24 was c1e3930, checked in by Michael Medin <michael@…>, 6 years ago

2007-11-14 MickeM

+ Added multi-line output support ( issue #91 )

  • Improved error handling for external commands
  • Fixed an issue with NRPE/NSClient socket-reading (introduced by the socket_timeout)

(and added the scripts folder to the SVN, and hopefully the build as well :)

  • Property mode set to 100644
File size: 2.2 KB
Line 
1/**************************************************************************
2*   Copyright (C) 2004-2007 by Michael Medin <michael@medin.name>         *
3*                                                                         *
4*   This code is part of NSClient++ - http://trac.nakednuns.org/nscp      *
5*                                                                         *
6*   This program is free software; you can redistribute it and/or modify  *
7*   it under the terms of the GNU General Public License as published by  *
8*   the Free Software Foundation; either version 2 of the License, or     *
9*   (at your option) any later version.                                   *
10*                                                                         *
11*   This program is distributed in the hope that it will be useful,       *
12*   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
13*   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
14*   GNU General Public License for more details.                          *
15*                                                                         *
16*   You should have received a copy of the GNU General Public License     *
17*   along with this program; if not, write to the                         *
18*   Free Software Foundation, Inc.,                                       *
19*   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
20***************************************************************************/
21#if !defined(AFX_STDAFX_H__6B96F953_C431_11D3_BCD2_00A0D21A1A22__INCLUDED_)
22#define AFX_STDAFX_H__6B96F953_C431_11D3_BCD2_00A0D21A1A22__INCLUDED_
23
24#if _MSC_VER > 1000
25#pragma once
26#endif // _MSC_VER > 1000
27
28#define _WINSOCKAPI_
29//#include <WinSock2.h>
30
31#define VC_EXTRALEAN            // Exclude rarely-used stuff from Windows headers
32#include <windows.h>
33
34#define COMPILE_NEWAPIS_STUBS
35#define WANT_GETLONGPATHNAME_WRAPPER
36//#include <NewAPIs.h>
37
38#include <iostream>
39#include <tchar.h>
40#include <string>
41#include <list>
42#include <sstream>
43#include <vector>
44
45#include "config.h"
46#include <singleton.h>
47#include <charEx.h>
48#include <memory>
49
50#ifdef MEMCHECK
51#include <vld.h>
52#endif
53
54
55#endif // !defined(AFX_STDAFX_H__6B96F953_C431_11D3_BCD2_00A0D21A1A22__INCLUDED_)
Note: See TracBrowser for help on using the repository browser.