FOSSology  3.2.0rc1
Open Source License Compliance by Open Source Software
emailformatter.h
1 /* **************************************************************
2  Copyright (C) 2018 Siemens AG
3  Author: Gaurav Mishra <mishra.gaurav@siemens.com>
4 
5  This program is free software; you can redistribute it and/or
6  modify it under the terms of the GNU General Public License
7  version 2 as published by the Free Software Foundation.
8 
9  This program is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  GNU General Public License for more details.
13 
14  You should have received a copy of the GNU General Public License along
15  with this program; if not, write to the Free Software Foundation, Inc.,
16  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17  ************************************************************** */
18 
19 #ifndef EMAILFORMATTER_H_INCLUDE
20 #define EMAILFORMATTER_H_INCLUDE
21 
22 #include <agent.h>
23 
27 typedef struct
28 {
29  guint id;
30  GString* agent;
31  gboolean status;
32 } agent_info;
33 
34 /* Format rows as plain text */
35 const gchar* email_format_text(GPtrArray *rows, gchar *fossy_url);
36 
37 #endif /* EMAILFORMATTER_H_INCLUDE */
38 
gboolean status
Agent status (Pass => true, fail => false)
const gchar * email_format_text(GPtrArray *rows, gchar *fossy_url)
Format rows as plain text.
guint id
Job queue id for the agent.
GString * agent
Agent name.
Header file with agent related operations.