15 #include <emailformatter.h>
27 GString* ret = g_string_new(
"");
32 g_string_append(ret,
"Agents run:\n");
33 g_string_append(ret,
" Job ID => Agent Name => Status => Link\n");
34 for (i = 0; i < rows->len; i++)
37 g_string_append_printf(ret,
"%10d => %15s => ", data->
id, data->
agent->str);
40 g_string_append(ret,
" COMPLETED\n");
44 g_string_append_printf(ret,
"%10s => http://%s?mod=showjobs&job=%d\n",
45 "FAILED", fossy_url, data->
id);
47 g_string_free(data->
agent, TRUE);
Header file with agent related operations.
gboolean status
Agent status (Pass => true, fail => false)
guint id
Job queue id for the agent.
GString * agent
Agent name.