|
AMU Library 3.0
C/C++ library for communicating with AMU (Aerospace Measurement Unit) devices
|
Go to the source code of this file.
Macros | |
| #define | LOCAL |
| #define | SCPI_DTOSTRE_UPPERCASE 1 |
| #define | SCPI_DTOSTRE_ALWAYS_SIGN 2 |
| #define | SCPI_DTOSTRE_PLUS_SIGN 4 |
| #define | min(a, b) |
| #define | max(a, b) |
Functions | |
| char * | strnpbrk (const char *str, size_t size, const char *set) |
| scpi_bool_t | compareStr (const char *str1, size_t len1, const char *str2, size_t len2) |
| scpi_bool_t | compareStrAndNum (const char *str1, size_t len1, const char *str2, size_t len2, int32_t *num) |
| size_t | UInt32ToStrBaseSign (uint32_t val, char *str, size_t len, int8_t base, scpi_bool_t sign) |
| size_t | UInt64ToStrBaseSign (uint64_t val, char *str, size_t len, int8_t base, scpi_bool_t sign) |
| size_t | strBaseToInt32 (const char *str, int32_t *val, int8_t base) |
| size_t | strBaseToUInt32 (const char *str, uint32_t *val, int8_t base) |
| size_t | strBaseToInt64 (const char *str, int64_t *val, int8_t base) |
| size_t | strBaseToUInt64 (const char *str, uint64_t *val, int8_t base) |
| size_t | strToFloat (const char *str, float *val) |
| size_t | strToDouble (const char *str, double *val) |
| scpi_bool_t | locateText (const char *str1, size_t len1, const char **str2, size_t *len2) |
| scpi_bool_t | locateStr (const char *str1, size_t len1, const char **str2, size_t *len2) |
| size_t | skipWhitespace (const char *cmd, size_t len) |
| scpi_bool_t | matchPattern (const char *pattern, size_t pattern_len, const char *str, size_t str_len, int32_t *num) |
| scpi_bool_t | matchCommand (const char *pattern, const char *cmd, size_t len, int32_t *numbers, size_t numbers_len, int32_t default_value, bool *query) |
| scpi_bool_t | composeCompoundCommand (const scpi_token_t *prev, scpi_token_t *current) |
| char * | SCPI_dtostre (double __val, char *__s, size_t __ssize, unsigned char __prec, unsigned char __flags) |
| scpi_array_format_t | SCPI_GetNativeFormat (void) |
| uint16_t | SCPI_Swap16 (uint16_t val) |
| uint32_t | SCPI_Swap32 (uint32_t val) |
| uint64_t | SCPI_Swap64 (uint64_t val) |
| size_t | BSD_strnlen (const char *s, size_t maxlen) |
| int | OUR_strncasecmp (const char *s1, const char *s2, size_t n) |
| char * | OUR_strndup (const char *s, size_t n) |
| #define LOCAL |
Definition at line 51 of file utils_private.h.
| #define max | ( | a, | |
| b ) |
Definition at line 106 of file utils_private.h.
| #define min | ( | a, | |
| b ) |
Definition at line 102 of file utils_private.h.
| #define SCPI_DTOSTRE_ALWAYS_SIGN 2 |
Definition at line 73 of file utils_private.h.
| #define SCPI_DTOSTRE_PLUS_SIGN 4 |
Definition at line 74 of file utils_private.h.
| #define SCPI_DTOSTRE_UPPERCASE 1 |
Definition at line 72 of file utils_private.h.
| scpi_bool_t compareStr | ( | const char * | str1, |
| size_t | len1, | ||
| const char * | str2, | ||
| size_t | len2 ) |
| scpi_bool_t compareStrAndNum | ( | const char * | str1, |
| size_t | len1, | ||
| const char * | str2, | ||
| size_t | len2, | ||
| int32_t * | num ) |
| scpi_bool_t composeCompoundCommand | ( | const scpi_token_t * | prev, |
| scpi_token_t * | current ) |
| scpi_bool_t locateStr | ( | const char * | str1, |
| size_t | len1, | ||
| const char ** | str2, | ||
| size_t * | len2 ) |
| scpi_bool_t locateText | ( | const char * | str1, |
| size_t | len1, | ||
| const char ** | str2, | ||
| size_t * | len2 ) |
| scpi_bool_t matchCommand | ( | const char * | pattern, |
| const char * | cmd, | ||
| size_t | len, | ||
| int32_t * | numbers, | ||
| size_t | numbers_len, | ||
| int32_t | default_value, | ||
| bool * | query ) |
| scpi_bool_t matchPattern | ( | const char * | pattern, |
| size_t | pattern_len, | ||
| const char * | str, | ||
| size_t | str_len, | ||
| int32_t * | num ) |
| int OUR_strncasecmp | ( | const char * | s1, |
| const char * | s2, | ||
| size_t | n ) |
| char * OUR_strndup | ( | const char * | s, |
| size_t | n ) |
| char * SCPI_dtostre | ( | double | __val, |
| char * | __s, | ||
| size_t | __ssize, | ||
| unsigned char | __prec, | ||
| unsigned char | __flags ) |
| scpi_array_format_t SCPI_GetNativeFormat | ( | void | ) |
| uint16_t SCPI_Swap16 | ( | uint16_t | val | ) |
| uint32_t SCPI_Swap32 | ( | uint32_t | val | ) |
| uint64_t SCPI_Swap64 | ( | uint64_t | val | ) |
| size_t skipWhitespace | ( | const char * | cmd, |
| size_t | len ) |
| size_t strBaseToInt32 | ( | const char * | str, |
| int32_t * | val, | ||
| int8_t | base ) |
| size_t strBaseToInt64 | ( | const char * | str, |
| int64_t * | val, | ||
| int8_t | base ) |
| size_t strBaseToUInt32 | ( | const char * | str, |
| uint32_t * | val, | ||
| int8_t | base ) |
| size_t strBaseToUInt64 | ( | const char * | str, |
| uint64_t * | val, | ||
| int8_t | base ) |
| char * strnpbrk | ( | const char * | str, |
| size_t | size, | ||
| const char * | set ) |
| size_t strToDouble | ( | const char * | str, |
| double * | val ) |
| size_t strToFloat | ( | const char * | str, |
| float * | val ) |
| size_t UInt32ToStrBaseSign | ( | uint32_t | val, |
| char * | str, | ||
| size_t | len, | ||
| int8_t | base, | ||
| scpi_bool_t | sign ) |
| size_t UInt64ToStrBaseSign | ( | uint64_t | val, |
| char * | str, | ||
| size_t | len, | ||
| int8_t | base, | ||
| scpi_bool_t | sign ) |