FOSSology  4.4.0
Open Source License Compliance by Open Source Software
emailformatter.h
1 /*
2  SPDX-FileCopyrightText: © 2018 Siemens AG
3  Author: Gaurav Mishra <mishra.gaurav@siemens.com>
4 
5  SPDX-License-Identifier: GPL-2.0-only
6 */
7 
8 #ifndef EMAILFORMATTER_H_INCLUDE
9 #define EMAILFORMATTER_H_INCLUDE
10 
11 #include <agent.h>
12 
16 typedef struct
17 {
18  guint id;
19  GString* agent;
20  gboolean status;
21 } agent_info;
22 
23 /* Format rows as plain text */
24 const gchar* email_format_text(GPtrArray *rows, gchar *fossy_url);
25 
26 #endif /* EMAILFORMATTER_H_INCLUDE */
27 
Header file with agent related operations.
const gchar * email_format_text(GPtrArray *rows, gchar *fossy_url)
Format rows as plain text.
gboolean status
Agent status (Pass => true, fail => false)
guint id
Job queue id for the agent.
GString * agent
Agent name.