693f1e87154947811c9ac21a092b5aefe1f38836
Stefan Schuermans v1.0.0

Stefan Schuermans authored 13 years ago

include/intern/config.h   1) /*
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

include/intern/config.h   2)  * EtherPix library
Stefan Schuermans v1.0.0

Stefan Schuermans authored 13 years ago

include/intern/config.h   3)  *
Stefan Schuermans update copyright year

Stefan Schuermans authored 7 years ago

include/intern/config.h   4)  * Copyright 2010-2017 Stefan Schuermans <stefan schuermans info>
Stefan Schuermans v1.0.0

Stefan Schuermans authored 13 years ago

include/intern/config.h   5)  *
include/intern/config.h   6)  * This program is free software: you can redistribute it and/or modify
include/intern/config.h   7)  * it under the terms of the GNU General Public License as published by
include/intern/config.h   8)  * the Free Software Foundation, version 3 of the License.
include/intern/config.h   9)  *
include/intern/config.h  10)  *
include/intern/config.h  11)  * This program is distributed in the hope that it will be useful,
include/intern/config.h  12)  * but WITHOUT ANY WARRANTY; without even the implied warranty of
include/intern/config.h  13)  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
include/intern/config.h  14)  * GNU General Public License for more details.
include/intern/config.h  15)  *
include/intern/config.h  16)  * You should have received a copy of the GNU Lesser General Public License
include/intern/config.h  17)  * along with this program. If not, see <http://www.gnu.org/licenses/>.
include/intern/config.h  18)  */
include/intern/config.h  19) 
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

include/intern/config.h  20) #ifndef ETP_CONFIG_H
include/intern/config.h  21) #define ETP_CONFIG_H
Stefan Schuermans v1.0.0

Stefan Schuermans authored 13 years ago

include/intern/config.h  22) 
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

include/intern/config.h  23) #include <etherpix/msg.h>
include/intern/config.h  24) #include <etherpix/types.h>
Stefan Schuermans move internal includes

Stefan Schuermans authored 7 years ago

src/config.h             25) #include "types.h"
Stefan Schuermans v1.0.0

Stefan Schuermans authored 13 years ago

include/intern/config.h  26) 
include/intern/config.h  27) /** context information for processing config file */
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

include/intern/config.h  28) typedef struct etp_config_ctx_s
Stefan Schuermans v1.0.0

Stefan Schuermans authored 13 years ago

include/intern/config.h  29) {
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

include/intern/config.h  30)   etp_display_t *p_display;    /**< display to configure */
Stefan Schuermans v1.0.0

Stefan Schuermans authored 13 years ago

include/intern/config.h  31)   unsigned int line_no;        /**< current line in config file */
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

include/intern/config.h  32)   etp_msg_func_p_t p_msg_func; /**< message callback function or NULL */
Stefan Schuermans v1.0.0

Stefan Schuermans authored 13 years ago

include/intern/config.h  33)   void *p_msg_ctx;             /**< user context for message callback */
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

include/intern/config.h  34) } etp_config_ctx_t;
Stefan Schuermans v1.0.0

Stefan Schuermans authored 13 years ago

include/intern/config.h  35) 
include/intern/config.h  36) /**
include/intern/config.h  37)  * \brief process distributor from config file
include/intern/config.h  38)  *
include/intern/config.h  39)  * \param[in,out] p_ctx context information
include/intern/config.h  40)  * \param[in] p_setting_part2 second half of setting to process
include/intern/config.h  41)  * \param[in] p_value value of setting
include/intern/config.h  42)  * \return 0 in case of success, -1 in case of error
include/intern/config.h  43)  */
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

include/intern/config.h  44) int etp_config_proc_distri(etp_config_ctx_t *p_ctx, char *p_setting_part2,
Stefan Schuermans v1.0.0

Stefan Schuermans authored 13 years ago

include/intern/config.h  45)                            char *value);
include/intern/config.h  46) 
include/intern/config.h  47) /**
include/intern/config.h  48)  * \brief process mapping from config file
include/intern/config.h  49)  *
include/intern/config.h  50)  * \param[in,out] p_ctx context information
include/intern/config.h  51)  * \param[in] p_setting_part2 second half of setting to process
include/intern/config.h  52)  * \param[in] p_value value of setting
include/intern/config.h  53)  * \return 0 in case of success, -1 in case of error
include/intern/config.h  54)  */
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

include/intern/config.h  55) int etp_config_proc_mapping(etp_config_ctx_t *p_ctx, char *p_setting_part2,
Stefan Schuermans v1.0.0

Stefan Schuermans authored 13 years ago

include/intern/config.h  56)                             char *value);
include/intern/config.h  57) 
include/intern/config.h  58) /**
include/intern/config.h  59)  * \brief process pixel from config file
include/intern/config.h  60)  *
include/intern/config.h  61)  * \param[in,out] p_ctx context information
include/intern/config.h  62)  * \param[in] sz_pixel text of pixel to process
include/intern/config.h  63)  * \param[in] distri number of distributor
include/intern/config.h  64)  * \param[in] out number of output
include/intern/config.h  65)  * \param[in] pix number of pixel
include/intern/config.h  66)  * \return 0 in case of success, -1 in case of error
include/intern/config.h  67)  */
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

include/intern/config.h  68) int etp_config_proc_pixel(etp_config_ctx_t *p_ctx, char *sz_pixel,
Stefan Schuermans v1.0.0

Stefan Schuermans authored 13 years ago

include/intern/config.h  69)                           unsigned int distri, unsigned int out,
include/intern/config.h  70)                           unsigned int pix);
include/intern/config.h  71) 
include/intern/config.h  72) /**
include/intern/config.h  73)  * \brief process output from config file
include/intern/config.h  74)  *
include/intern/config.h  75)  * \param[in,out] p_ctx context information
include/intern/config.h  76)  * \param[in] p_setting_part2 second half of setting to process
include/intern/config.h  77)  * \param[in] p_value value of setting
include/intern/config.h  78)  * \return 0 in case of success, -1 in case of error
include/intern/config.h  79)  */
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

include/intern/config.h  80) int etp_config_proc_output(etp_config_ctx_t *p_ctx, char *p_setting_part2,
Stefan Schuermans v1.0.0

Stefan Schuermans authored 13 years ago

include/intern/config.h  81)                            char *value);
include/intern/config.h  82) 
include/intern/config.h  83) /**
include/intern/config.h  84)  * \brief process setting from config file
include/intern/config.h  85)  *
include/intern/config.h  86)  * \param[in,out] p_ctx context information
include/intern/config.h  87)  * \param[in] p_setting setting to process
include/intern/config.h  88)  * \param[in] p_value value of setting
include/intern/config.h  89)  * \return 0 in case of success, -1 in case of error
include/intern/config.h  90)  */
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

include/intern/config.h  91) int etp_config_proc_setting(etp_config_ctx_t *p_ctx, char *p_setting,
Stefan Schuermans v1.0.0

Stefan Schuermans authored 13 years ago

include/intern/config.h  92)                             char *p_value);
include/intern/config.h  93) 
include/intern/config.h  94) /**
include/intern/config.h  95)  * \brief process line from config file
include/intern/config.h  96)  *
include/intern/config.h  97)  * \param[in,out] p_ctx context information
include/intern/config.h  98)  * \param[in] p_line line to process
include/intern/config.h  99)  * \return 0 in case of success, -1 in case of error
include/intern/config.h 100)  */
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

include/intern/config.h 101) int etp_config_proc_line(etp_config_ctx_t *p_ctx, char *p_line);
Stefan Schuermans v1.0.0

Stefan Schuermans authored 13 years ago

include/intern/config.h 102) 
include/intern/config.h 103) /**
include/intern/config.h 104)  * \brief process config file
include/intern/config.h 105)  *
include/intern/config.h 106)  * \param[in,out] p_display display to configure
include/intern/config.h 107)  * \param[in] sz_config_file name of config file to read
include/intern/config.h 108)  * \param[in] p_msg_func message callback function or NULL
include/intern/config.h 109)  * \param[in] p_msg_ctx user context for message callback
include/intern/config.h 110)  * \return 0 in case of success, -1 in case of error
include/intern/config.h 111)  */
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

include/intern/config.h 112) int etp_config_proc_file(etp_display_t *p_display,
Stefan Schuermans v1.0.0

Stefan Schuermans authored 13 years ago

include/intern/config.h 113)                          const char *sz_config_file,
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

include/intern/config.h 114)                          etp_msg_func_p_t p_msg_func, void *p_msg_ctx);
Stefan Schuermans v1.0.0

Stefan Schuermans authored 13 years ago

include/intern/config.h 115) 
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

include/intern/config.h 116) #endif /* #ifndef ETP_CONFIG_H */