mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-06-08 16:26:23 -04:00
check_apt: clang-format
This commit is contained in:
parent
75ff5b3b51
commit
540d609d84
1 changed files with 34 additions and 30 deletions
|
|
@ -1,33 +1,33 @@
|
|||
/*****************************************************************************
|
||||
*
|
||||
* Monitoring check_apt plugin
|
||||
*
|
||||
* License: GPL
|
||||
* Copyright (c) 2006-2024 Monitoring Plugins Development Team
|
||||
*
|
||||
* Original author: Sean Finney
|
||||
*
|
||||
* Description:
|
||||
*
|
||||
* This file contains the check_apt plugin
|
||||
*
|
||||
* Check for available updates in apt package management systems
|
||||
*
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*****************************************************************************/
|
||||
*
|
||||
* Monitoring check_apt plugin
|
||||
*
|
||||
* License: GPL
|
||||
* Copyright (c) 2006-2024 Monitoring Plugins Development Team
|
||||
*
|
||||
* Original author: Sean Finney
|
||||
*
|
||||
* Description:
|
||||
*
|
||||
* This file contains the check_apt plugin
|
||||
*
|
||||
* Check for available updates in apt package management systems
|
||||
*
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
const char *progname = "check_apt";
|
||||
const char *copyright = "2006-2024";
|
||||
|
|
@ -39,7 +39,11 @@ const char *email = "devel@monitoring-plugins.org";
|
|||
#include "regex.h"
|
||||
|
||||
/* some constants */
|
||||
typedef enum { UPGRADE, DIST_UPGRADE, NO_UPGRADE } upgrade_type;
|
||||
typedef enum {
|
||||
UPGRADE,
|
||||
DIST_UPGRADE,
|
||||
NO_UPGRADE
|
||||
} upgrade_type;
|
||||
|
||||
/* Character for hidden input file option (for testing). */
|
||||
#define INPUT_FILE_OPT CHAR_MAX + 1
|
||||
|
|
|
|||
Loading…
Reference in a new issue