Blame src/enc.h

Packit 1422b7
/**
Packit 1422b7
 * @file enc.h
Packit 1422b7
 * @brief Encoder functions
Packit 1422b7
 */
Packit 1422b7
/*
Packit 1422b7
 * liblognorm - a fast samples-based log normalization library
Packit 1422b7
 * Copyright 2010 by Rainer Gerhards and Adiscon GmbH.
Packit 1422b7
 *
Packit 1422b7
 * Modified by Pavel Levshin (pavel@levshin.spb.ru) in 2013
Packit 1422b7
 *
Packit 1422b7
 * This file is part of liblognorm.
Packit 1422b7
 *
Packit 1422b7
 * This library is free software; you can redistribute it and/or
Packit 1422b7
 * modify it under the terms of the GNU Lesser General Public
Packit 1422b7
 * License as published by the Free Software Foundation; either
Packit 1422b7
 * version 2.1 of the License, or (at your option) any later version.
Packit 1422b7
 *
Packit 1422b7
 * This library is distributed in the hope that it will be useful,
Packit 1422b7
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 1422b7
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit 1422b7
 * Lesser General Public License for more details.
Packit 1422b7
 *
Packit 1422b7
 * You should have received a copy of the GNU Lesser General Public
Packit 1422b7
 * License along with this library; if not, write to the Free Software
Packit 1422b7
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
Packit 1422b7
 *
Packit 1422b7
 * A copy of the LGPL v2.1 can be found in the file "COPYING" in this distribution.
Packit 1422b7
 */
Packit 1422b7
Packit 1422b7
#ifndef LIBLOGNORM_ENC_H_INCLUDED
Packit 1422b7
#define	LIBLOGNORM_ENC_H_INCLUDED
Packit 1422b7
Packit 1422b7
int ln_fmtEventToRFC5424(struct json_object *json, es_str_t **str);
Packit 1422b7
Packit 1422b7
int ln_fmtEventToCSV(struct json_object *json, es_str_t **str, es_str_t *extraData);
Packit 1422b7
Packit 1422b7
int ln_fmtEventToXML(struct json_object *json, es_str_t **str);
Packit 1422b7
Packit 1422b7
#endif /* LIBLOGNORM_ENC_H_INCLUDED */