Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Functions
strtoi.h File Reference
#include <stdbool.h>
#include <inttypes.h>
#include "ws_symbol_export.h"

Go to the source code of this file.

Functions

WS_DLL_PUBLIC bool ws_strtoi64 (const char *str, const char **endptr, int64_t *cint)
 
WS_DLL_PUBLIC bool ws_strtoi32 (const char *str, const char **endptr, int32_t *cint)
 
WS_DLL_PUBLIC bool ws_strtoi16 (const char *str, const char **endptr, int16_t *cint)
 
WS_DLL_PUBLIC bool ws_strtoi8 (const char *str, const char **endptr, int8_t *cint)
 
WS_DLL_PUBLIC bool ws_strtoi (const char *str, const char **endptr, int *cint)
 
WS_DLL_PUBLIC bool ws_strtou64 (const char *str, const char **endptr, uint64_t *cint)
 
WS_DLL_PUBLIC bool ws_strtou32 (const char *str, const char **endptr, uint32_t *cint)
 
WS_DLL_PUBLIC bool ws_strtou16 (const char *str, const char **endptr, uint16_t *cint)
 
WS_DLL_PUBLIC bool ws_strtou8 (const char *str, const char **endptr, uint8_t *cint)
 
WS_DLL_PUBLIC bool ws_strtou (const char *str, const char **endptr, unsigned *cint)
 
WS_DLL_PUBLIC bool ws_hexstrtou64 (const char *str, const char **endptr, uint64_t *cint)
 
WS_DLL_PUBLIC bool ws_hexstrtou32 (const char *str, const char **endptr, uint32_t *cint)
 
WS_DLL_PUBLIC bool ws_hexstrtou16 (const char *str, const char **endptr, uint16_t *cint)
 
WS_DLL_PUBLIC bool ws_hexstrtou8 (const char *str, const char **endptr, uint8_t *cint)
 
WS_DLL_PUBLIC bool ws_hexstrtou (const char *str, const char **endptr, unsigned *cint)
 
WS_DLL_PUBLIC bool ws_basestrtou64 (const char *str, const char **endptr, uint64_t *cint, int base)
 
WS_DLL_PUBLIC bool ws_basestrtou32 (const char *str, const char **endptr, uint32_t *cint, int base)
 
WS_DLL_PUBLIC bool ws_basestrtou16 (const char *str, const char **endptr, uint16_t *cint, int base)
 
WS_DLL_PUBLIC bool ws_basestrtou8 (const char *str, const char **endptr, uint8_t *cint, int base)
 
WS_DLL_PUBLIC bool ws_basestrtou (const char *str, const char **endptr, unsigned *cint, int base)
 

Detailed Description

Utilities to convert strings to integers

Copyright 2016, Dario Lombardo

Wireshark - Network traffic analyzer By Gerald Combs geral.nosp@m.d@wi.nosp@m.resha.nosp@m.rk.o.nosp@m.rg Copyright 1998 Gerald Combs

SPDX-License-Identifier: GPL-2.0-or-later