FOSSology  4.4.0
Open Source License Compliance by Open Source Software
emailformatter.c File Reference

Format email body for a list of agents and their status. More...

#include <agent.h>
#include <emailformatter.h>
Include dependency graph for emailformatter.c:

Go to the source code of this file.

Functions

const gchar * email_format_text (GPtrArray *rows, gchar *fossy_url)
 Format rows as plain text. More...
 

Detailed Description

Format email body for a list of agents and their status.

The file can further be enhanced for different formats like HTML, XML, etc.

Definition in file emailformatter.c.

Function Documentation

◆ email_format_text()

const gchar* email_format_text ( GPtrArray *  rows,
gchar *  fossy_url 
)

Format rows as plain text.

Parameters
rowsrows of type agent_info
fossy_urlhost url of fossology
Returns
rows in plain text format

Definition at line 24 of file emailformatter.c.