Changeset dc65e35 in nscp for modules/CheckWMI


Ignore:
Timestamp:
03/05/07 18:38:48 (6 years ago)
Author:
Michael Medin <michael@…>
Branches:
master, 0.4.0, 0.4.1, 0.4.2, stable
Children:
972b98d
Parents:
2c34b97
Message:

2006-03-05 MickeM

  • Fixed -v FILEAGE check_nt (NSClient) check.
  • Added licence agreement header to all files
Location:
modules/CheckWMI
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • modules/CheckWMI/CheckWMI.cpp

    rf42280d rdc65e35  
    1 // CheckEventLog.cpp : Defines the entry point for the DLL application. 
    2 // 
     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***************************************************************************/ 
    321 
    422#include "stdafx.h" 
  • modules/CheckWMI/CheckWMI.h

    r1b7ae3d rdc65e35  
     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***************************************************************************/ 
    121NSC_WRAPPERS_MAIN(); 
    222#include <config.h> 
  • modules/CheckWMI/WMIQuery.cpp

    r1b7ae3d rdc65e35  
     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***************************************************************************/ 
    121#include "StdAfx.h" 
    222#include ".\wmiquery.h" 
  • modules/CheckWMI/WMIQuery.h

    r1b7ae3d rdc65e35  
     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***************************************************************************/ 
    121#pragma once 
    222 
  • modules/CheckWMI/stdafx.cpp

    r1b7ae3d rdc65e35  
    1 // stdafx.cpp : source file that includes just the standard includes 
    2 // CheckDisk.pch will be the pre-compiled header 
    3 // stdafx.obj will contain the pre-compiled type information 
    4  
     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***************************************************************************/ 
    521#include "stdafx.h" 
    6  
    7 // TODO: reference any additional headers you need in STDAFX.H 
    8 // and not in this file 
  • modules/CheckWMI/stdafx.h

    r1b7ae3d rdc65e35  
    1 // stdafx.h : include file for standard system include files, 
    2 // or project specific include files that are used frequently, but 
    3 // are changed infrequently 
    4 // 
     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***************************************************************************/ 
    521 
    622#pragma once 
     
    2137#include <atlstr.h> 
    2238#include <atlsafe.h> 
    23 /* 
    24 #include <afxwin.h>         // MFC core and standard components 
    25 #include <afxext.h>         // MFC extensions 
    26 #include <afxdisp.h>        // MFC Automation classes 
    27 #include <afxdtctl.h>   // MFC support for Internet Explorer 4 Common Controls 
    28 #ifndef _AFX_NO_AFXCMN_SUPPORT 
    29 #include <afxcmn.h>     // MFC support for Windows Common Controls 
    30 #endif // _AFX_NO_AFXCMN_SUPPORT 
    31 */ 
    3239#include <NSCAPI.h> 
    3340#include <NSCHelper.h> 
Note: See TracChangeset for help on using the changeset viewer.