mbgtools-lx  4.2.8
identdec.c File Reference
#include <identdec.h>
#include <qsdefs.h>

Go to the source code of this file.

Macros

#define _IDENTDEC
 
#define _is_digit(_c)   ( (_c) >= '0' && (_c) <= '9' )
 

Functions

static char * do_strnpcpy (char *p_dst, const char *p_src, int n)
 
char * mbg_gps_ident_swap (char *p_dst, const char *p_src)
 
void mbg_gps_ident_decode (char *s, const IDENT *p_id)
 

Macro Definition Documentation

◆ _IDENTDEC

#define _IDENTDEC

Definition at line 24 of file identdec.c.

◆ _is_digit

#define _is_digit (   _c)    ( (_c) >= '0' && (_c) <= '9' )

Definition at line 32 of file identdec.c.

Referenced by mbg_gps_ident_decode().

Function Documentation

◆ do_strnpcpy()

static char* do_strnpcpy ( char *  p_dst,
const char *  p_src,
int  n 
)
static

Definition at line 39 of file identdec.c.

Referenced by mbg_gps_ident_decode().

◆ mbg_gps_ident_decode()

void mbg_gps_ident_decode ( char *  s,
const IDENT p_id 
)

Definition at line 92 of file identdec.c.

Referenced by mbgextio_setup_receiver_info(), and setup_sernum_and_receiver_info().

◆ mbg_gps_ident_swap()

char* mbg_gps_ident_swap ( char *  p_dst,
const char *  p_src 
)

Definition at line 72 of file identdec.c.

Referenced by mbg_gps_ident_decode().