Function treeweave_arch_available

Function Documentation

int treeweave_arch_available(const char *name)

Whether name is a dispatch rung this host can run.

Returns:

1 when the ladder has the rung and the host supports it, 0 when the ladder has it but the host does not, -1 when no rung carries that name (or name is NULL). Single-arch builds have a one-rung ladder.