Stefan Schuermans
removed version information from file headers (manged via git now)
Stefan Schuermans commited aa3270a at 2011-09-11 17:30:15
/*
* FlexiPix library
*
* Copyright 2010-2011 Stefan Schuermans <stefan schuermans info>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, version 3 of the License.
*
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef FLP_CONFIG_H
#define FLP_CONFIG_H
#include <flexipix/msg.h>
#include <flexipix/types.h>
#include <intern/types.h>
/** context information for processing config file */
typedef struct flp_config_ctx_s
{
flp_display_t *p_display; /**< display to configure */
unsigned int line_no; /**< current line in config file */
flp_msg_func_p_t p_msg_func; /**< message callback function or NULL */
void *p_msg_ctx; /**< user context for message callback */
} flp_config_ctx_t;
/**
* \brief process distributor from config file
*
* \param[in,out] p_ctx context information
* \param[in] p_setting_part2 second half of setting to process
* \param[in] p_value value of setting
* \return 0 in case of success, -1 in case of error
*/
int flp_config_proc_distri(flp_config_ctx_t *p_ctx, char *p_setting_part2,
char *value);
/**
* \brief process mapping from config file
*
* \param[in,out] p_ctx context information
* \param[in] p_setting_part2 second half of setting to process
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX