Porting PicoTCP WIP
This commit is contained in:
21
kernel/picotcp/modules/pico_strings.h
Normal file
21
kernel/picotcp/modules/pico_strings.h
Normal file
@ -0,0 +1,21 @@
|
||||
/*********************************************************************
|
||||
PicoTCP. Copyright (c) 2015-2017 Altran ISY BeNeLux. Some rights reserved.
|
||||
See COPYING, LICENSE.GPLv2 and LICENSE.GPLv3 for usage.
|
||||
|
||||
.
|
||||
|
||||
Author: Michele Di Pede
|
||||
*********************************************************************/
|
||||
|
||||
#ifndef PICO_STRINGS_H
|
||||
#define PICO_STRINGS_H
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
char *get_string_terminator_position(char *const block, size_t len);
|
||||
int pico_strncasecmp(const char *const str1, const char *const str2, size_t n);
|
||||
size_t pico_strnlen(const char *str, size_t n);
|
||||
|
||||
int num2string(int32_t num, char *buf, int len);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user