File: util.h

package info (click to toggle)
libinklevel 0.9.7-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,840 kB
  • sloc: sh: 4,488; ansic: 4,422; python: 44; makefile: 26
file content (21 lines) | stat: -rw-r--r-- 479 bytes parent folder | download | duplicates (5)
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