1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
/* util.h
*
* (c) 2009, 2018 Markus Heinz, Louis Lagendijk
*
* This software is licensed under the terms of the GPL.
* For details see file COPYING.
*/
#ifndef UTIL_H
#define UTIL_H
#include "internal.h"
#include "inklevel.h"
int my_axtoi(char *t);
int my_atoi(char *t);
void tokenize_device_id(const char *string, char tags[NR_TAGS][BUFLEN]);
char *get_tag_value(char tags[NR_TAGS][BUFLEN], char *tag);
int get_tag_index(char tags[NR_TAGS][BUFLEN], char *tag);
#endif
|