# Common Data Structures (libcds)

Václav
Kubart

Description of CDS (Common Data Structures) library.

## Preface

This library contains many useful functions and data structures. It is possible to use it with Sip Express Router (SER) or without it. In the first case it is able to use some internal SER's data types like strings.

### Conventions

There is list of conventions used in this library:

- data types (structures, enums, ...) have their names with suffix _t (dstring_t, str_t, ...)

- many functions have prefix according to data structure on which are operating (like `dstr_append` which operates on dstring_t data structure)

- most functions return 0 as successful result and nonzero value as error

### Dependencies

This library depends only on standard C libraries and needs no other external libraries.

## Reference