Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
P
 parseroot
 persistent_bva
 pprop_start
 printindxmap
 printprops
 printsrchmap
 printtests
 prop_wrapup
 propmatch
 propname
 propref_start
Q
 queue_module
R
 randomize
 readprop
 readremote
 readrxqueue
 readU32
 reallocx
 releaseLcomponent
 releaseRcomponent
 resolveuuid
 rlp_init
 rlp_packetRx
 rlp_sendbuf
 rlpSubscribe
 rptProtoMsg
 run_controller
 rx_sbsaccept
struct rootdev_s * parseroot(const char *name)
Parse the root device of a component.
void persistent_bva(struct dcxt_s *dcxp,
const struct bv_s *bv)
static void pprop_start(struct dcxt_s *dcxp,
const ddlchar_t **atta)
Start tag for property or pseudo property (includedev, propertypointer)
static void printindxmap(struct indx_amap_s *imap)
Print an addrmap structure in the direct index map format (indx_amap_s).
static void printprops(struct ddlprop_s *prop)
Recursively walk the property tree printing each property.
static void printsrchmap(struct srch_amap_s *smap)
Print an addrmap structure in the generic search map format (srch_amap_s).
static void printtests(struct srch_amap_s *smap)
Print the extra array of property pointers needed where multiple properties interleave in an address range.
static int prop_wrapup(struct dcxt_s *dcxp)
Call after initial elements within property (label, behavior, value, protocol) but before children or included properties.
static bool propmatch(const struct dmpprop_s *p,
uint32_t addr)
Test whether an address matches a property.
const char * propname(struct ddlprop_s *pp,
enum pname_flags_e flags)
Generate a property name derived from its xml ID if it has one, otherwise from its property number which is its position in document order.
static void propref_start(struct dcxt_s *dcxp,
const ddlchar_t **atta)
void queue_module(struct dcxt_s *dcxp,
tok_t modtype,
const ddlchar_t *name,
void *ref)
Add a DDL module to the queue for future processing.
void randomize(bool force)
Initialize the random library function to generate a fresh sequence that is unlikely to match other components and unlikely to repeat on another run.
static int readprop(char **bpp,
int rem,
const struct dmpprop_s **dpp,
struct adspec_s *ofp)
Read a property specifier from the command line and check it against the property map for the device.
static int readremote(char **bpp)
Read a remote component specifier from the command line.
void readrxqueue()
Read the received wrapper queue (properly received wrappers only, there may be others awaiting sequencing) and dispatch to client protocol handlers.
static int readU32(char **bpp,
uint32_t *ip,
const char *delims)
Read a uint32_t value from the command line.
static inline void * reallocx(void *ptr,
size_t size)
Re-allocate memory or exit on failure.
static inline void releaseLcomponent(struct Lcomponent_s *Lcomp)
Unlink a local component from Lcomponents and if it is unused free it.
static inline void releaseRcomponent(struct Rcomponent_s *Rcomp)
Unlink a remote component from Rcomponents and if it is unused free it.
const ddlchar_t * resolveuuid(struct dcxt_s *dcxp,
const ddlchar_t *name,
uint8_t *dcid)
Resolve a UUID alias to a full UUID using currently scoped UUIDname definitions.
int rlp_init(void)
Initialize RLP and networking.
void rlp_packetRx(const uint8_t *buf,
ptrdiff_t length,
struct rxcontext_s *rcxt)
int rlp_sendbuf(uint8_t *txbuf,
int length,
#if CF_RLP_MAX_CLIENT_PROTOCOLS > 1 protocolID_t protocol,
#endif struct rlpsocket_s *src,
netx_addr_t *dest,
uint8_t *srccid)
Finalizes a buffer and transmit it
struct rlpsocket_s * rlpSubscribe(netx_addr_t *lclad,
protocolID_t protocol,
rlpcallback_fn *callback,
void *ref)
Returns an rlpsocket_s suitable for sending and registers a callback function for receiving packets.
int rptProtoMsg(struct txwrap_s **txwrapp,
struct member_s *memb,
uint16_t wflags)
Repeat the previous message to another member of the same group.
static void run_controller(const char *uuidstr,
uint16_t port,
const char **interfaces)
Initialize ACN and SLP and run the event loop.
static int rx_sbsaccept(struct dmprcxt_s *rcxt,
const uint8_t *bp)
Callback function which receives subscribe-accept messages.
Close