Loading...
Searching...
No Matches
tuple_read.c File Reference

Reads a value out of an inbound message tuple. More...

#include "io/tuple_read.h"
#include "wire/wire_read.h"

Functions

int32_t tuple_int_or (const Tuple *tuple, int32_t fallback)
 Reads an int tuple, whatever width the phone sent it at.
const char * tuple_str_or (const Tuple *tuple, const char *fallback)
 Reads a cstring tuple, or the fallback when it is not one that can be read.

Detailed Description

Reads a value out of an inbound message tuple.