FOSSology
4.4.0
Open Source License Compliance by Open Source Software
common.h
1
/*
2
Author: Daniele Fognini, Andreas Wuerl
3
SPDX-FileCopyrightText: © 2013-2014 Siemens AG
4
5
SPDX-License-Identifier: GPL-2.0-only
6
*/
7
8
#ifndef MONK_AGENT_COMMON_H
9
#define MONK_AGENT_COMMON_H
10
11
#include "monk.h"
12
#include "diff.h"
13
14
void
scheduler_disconnect(
MonkState
* state,
int
exitval);
15
void
bail
(
MonkState
* state,
int
exitval);
16
void
queryAgentId
(
MonkState
* state,
const
char
* agentName,
const
char
* agentDesc);
17
#endif
// MONK_AGENT_COMMON_H
queryAgentId
int queryAgentId(PGconn *dbConn)
Get agent id, exit if agent id is incorrect.
Definition:
copyrightUtils.cc:25
bail
void bail(int exitval)
Disconnect with scheduler returning an error code and exit.
Definition:
copyrightUtils.cc:62
MonkState
Definition:
monk.h:44
src
monk
agent
common.h
Generated on Thu May 2 2024 13:40:57 for FOSSology by
1.9.1