Statistics
| Branch: | Revision:

peerstreamer-src / src / tokens.h @ 58fb2cdc

History | View | Annotate | Download (393 Bytes)

1
/*
2
 * This is SSSim: the Simple & Stupid Simulator
3
 *
4
 *  Copyright (c) 2015 Luca Baldesi
5
 *
6
 *  This is free software; see gpl-3.0.txt
7
 */
8

    
9
#ifndef __TOKENS_H__
10
#define __TOKENS_H__ 1
11

    
12
#include <stdint.h>
13

    
14
void tokens_destroy(char *** sv, uint32_t n);
15

    
16
char ** tokens_create(char * s, const char delim, uint32_t * n);
17

    
18
int32_t tokens_check(char ** tokens, uint32_t n, char * target);
19

    
20
#endif