summaryrefslogtreecommitdiffhomepage
path: root/src/output/sfrt_output_dummy.c
blob: c29f7e10eb572d324f272d0fa1bd56014dc4cb11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>

#include <sofort/sofort.h>
#include "sofort_driver_impl.h"
#include "sofort_dprintf_impl.h"

int sfrt_output_dummy (const struct sfrt_driver_ctx * dctx)
{
	return sfrt_dprintf(
		sfrt_driver_fdout(dctx),
		"%s\n",
		dctx->cctx->anystring
			? dctx->cctx->anystring
			: "(null)");
}