693f1e87154947811c9ac21a092b5aefe1f38836
Stefan Schuermans v1.0.0

Stefan Schuermans authored 13 years ago

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

Stefan Schuermans authored 7 years ago

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

Stefan Schuermans authored 13 years ago

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

Stefan Schuermans authored 7 years ago

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

Stefan Schuermans authored 13 years ago

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

Stefan Schuermans authored 7 years ago

include/intern/parse.h 20) #ifndef ETP_PARSE_H
include/intern/parse.h 21) #define ETP_PARSE_H
Stefan Schuermans v1.0.0

Stefan Schuermans authored 13 years ago

include/intern/parse.h 22) 
Stefan Schuermans move internal includes

Stefan Schuermans authored 7 years ago

src/parse.h            23) #include "net.h"
Stefan Schuermans v1.0.0

Stefan Schuermans authored 13 years ago

include/intern/parse.h 24) 
include/intern/parse.h 25) /**
include/intern/parse.h 26)  * \brief parse two comma-separated numbers
include/intern/parse.h 27)  *
include/intern/parse.h 28)  * \param[in] text text to parse
include/intern/parse.h 29)  * \param[out] no1 first number parsed from text
include/intern/parse.h 30)  * \param[out] no2 second number parsed from text
include/intern/parse.h 31)  * \param[out] end location in text where parsing ended
include/intern/parse.h 32)  * \return 0 in case of success, -1 in case of error
include/intern/parse.h 33)  */
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

include/intern/parse.h 34) int etp_parse_two_nos(char *text, unsigned int *no1, unsigned int *no2,
Stefan Schuermans v1.0.0

Stefan Schuermans authored 13 years ago

include/intern/parse.h 35)                       char **end);
include/intern/parse.h 36) 
include/intern/parse.h 37) /**
include/intern/parse.h 38)  * \brief parse an address
include/intern/parse.h 39)  *
include/intern/parse.h 40)  * \param[in] test test to parse
include/intern/parse.h 41)  * \param[out] addr address parsed from text
include/intern/parse.h 42)  * \return 0 in case of success, -1 in case of error
include/intern/parse.h 43)  */
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

include/intern/parse.h 44) int etp_parse_addr(char *text, struct sockaddr_in *addr);
Stefan Schuermans v1.0.0

Stefan Schuermans authored 13 years ago

include/intern/parse.h 45) 
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

include/intern/parse.h 46) #endif /* #ifndef ETP_PARSE_H */