libisdn
T50.c File Reference
#include "T50.h"

Go to the source code of this file.

Defines

#define ICONV_CONVERT(_name, _to, _from)

Functions

int ia5_valid_string (const char *in, const int size)
int ia5_valid_number (const char *in, const int size)

Define Documentation

#define ICONV_CONVERT (   _name,
  _to,
  _from 
)
Value:
int _name(const char *in, const int isize, char *out, int *osize)       \
        {                                                               \
                return -1;                                              \
        }

Definition at line 54 of file T50.c.


Function Documentation

int ia5_valid_number ( const char *  in,
const int  size 
)

Check whether given string is a valid numerical IA5 string

Parameters:
[in]inInput string
[in]sizeLength
Returns:
true / false

Definition at line 21 of file T50.c.

int ia5_valid_string ( const char *  in,
const int  size 
)

Check whether given string is a valid IA5 string

Parameters:
[in]inInput string
[in]sizeLength
Returns:
true / false

Definition at line 14 of file T50.c.