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
E
 endProtoMsg
F
 findaddr
 findbv
 findlabel
 findLcomp
 findRcomp
 finduuid
 flagnames
 flushWrapper
 freeamap
 freerootdev
G
 gethomedir
 getprop
H
 h_putfooter
 h_putheader
I
 init_behaviors
 ISOdate_bva
L
 languagesetID_bva
 lset_end
 lset_start
M
 main
 mallocx
 mallocxz
 mapprop
 matchuuid
 mcast_initcomp
 measure_bva
 memberevent_fn
 mkRecip
N
 netx_freeipstr
 netx_getmyip
 netx_getmyipstr
 netx_send_to
 netxGetMyAddr
O
 ofs2addr
 openChannel
 openddlx
 openpath
 ordered_bva
int endProtoMsg(struct txwrap_s *txwrap,
uint8_t *endp)
Close a message after adding data
static int findaddr(union addrmap_u *amap,
uint32_t addr)
search the map for our insertion point
const struct bv_s * findbv(const uint8_t *uuid,
const ddlchar_t *name,
struct bvset_s **bvset)
Find the struct bv_s corresponding to a behavior in a set.
static inline struct Lcomponent_s * findLcomp(const uint8_t *uuid)
Find a local component by its CID.
static inline struct Rcomponent_s * findRcomp(const uint8_t *uuid)
Find a remote component by its CID.
extern const uint8_t *finduuid(struct uuidset_s *set,
const uint8_t *uuid)
Find the record in the set whose uuid matches the one passed.
char * flagnames(uint32_t flags,
const char **names,
char *buf,
const char *format)
Utility function that prints the names of those flags which are set in a word into a string.
static inline int flushWrapper(struct txwrap_s **txwrapp)
void freeamap(union addrmap_u *amap)
void freerootdev(struct rootdev_s *dev)
Free all the resources used by a rootdev_s.
char * gethomedir(void)
Returns a pointer to the current user’s home directory.
static void getprop(char **bpp)
Construct and send a get-property message.
static void h_putfooter(void)
Print the closing text of the generated .h file
static void h_putheader(const char *dcidstr,
const char *hfilename)
Print the opening text of the generated .h file
static void init_behaviors(struct dcxt_s *dcxp)
Add our defined behaviorsets to the kbehaviors structure where we can find them quickly.
void ISOdate_bva(struct dcxt_s *dcxp,
const struct bv_s *bv)
void languagesetID_bva(struct dcxt_s *dcxp,
const struct bv_s *bv)
static void lset_end(struct dcxt_s *dcxp)
We’ve accumulated the full language array in dcxp.
static void lset_start(struct dcxt_s *dcxp,
const ddlchar_t **atta)
Process a languageset.
int main(int argc,
char *argv[])
Parse command line options and start controller.
static inline void * mallocx(size_t size)
Allocate memory or exit on failure.
static inline void * mallocxz(size_t size)
Allocate and zero memory or exit on failure.
static void mapprop(struct dcxt_s *dcxp,
struct ddlprop_s *prop)
Add a dmp property to the property map.
static inline uuidtst_t matchuuid(const uint8_t *uuid1,
const uint8_t *uuid2)
int mcast_initcomp(
   ifMC(struct Lcomponent_s *Lcomp,) const struct mcastscope_s *pscope
)
Initialize a local component for multicast address allocation according to EPI-10
void measure_bva(struct dcxt_s *dcxp,
const struct bv_s *bv)
typedef void memberevent_fn(int event,
void *object,
void *info)
Callback function (registered in sdt_register as membevent) to handle out-of-band session or channel events.
extern struct Lchannel_s *mkRecip(
   ifMC(struct Lcomponent_s *Lcomp,) struct chanParams_s *params
)
Create a reciprocal channel.
void netx_freeipstr(char **strs)
Free the strings allocated by netx_getmyipstr
Return IP address(es)
int netx_getmyipstr(const char *interfaces[],
uint32_t flagmask,
uint32_t flagmatch,
char **ipstrs,
int maxaddrs)
Get a list of IP addresses in string format.
static int netx_send_to(
   nativesocket_t sk,
   /* contains a flag if port is open and the local port number */ const netx_addr_t *destaddr,
   /* contains dest port and ip numbers */ void *pkt,
   /* pointer data packet if type UPDPacket (return from netx_new_txbuf()) */ ptrdiff_t datalen /* length of data */
)
Send UDP message to given address.
int netxGetMyAddr(struct rlpsocket_s *cxp,
netx_addr_t *addr)
Return the IP address for a RLP socket.
void ofs2addr(const struct dmpprop_s *dprop,
struct adspec_s *ofsads,
struct adspec_s *dmpads)
Convert a property array offset to a DMP address specifier.
struct Lchannel_s *openChannel(
   ifMC(struct Lcomponent_s *Lcomp,) uint16_t flags,
   struct chanParams_s *params
)
Create and initialize a new channel.
int openddlx(ddlchar_t *name)
Open a ddl file or exit on failure.
int openpath(const char *path,
const char *name,
const char *exts)
Generic function that searches a path for a filename with one of a set of extensions.
void ordered_bva(struct dcxt_s *dcxp,
const struct bv_s *bv)
Close