Generator Examples
octInitGenContents(&facet, OCT_NET_MASK, &gen);
while (octGenerate(&gen, &net) == OCT_OK) {
octInitGenContents(&facet, OCT_NET_MASK, &gen);
while (octGenerate(&gen, &net) == OCT_OK) {
/* XXX will loop infinitely */
newnet.contents.net.name = "new net";
octInitGenContents(&facet, OCT_NET_MASK, &gen);
while (octGenerate(&gen, &net) == OCT_OK) {
octCreate(&facet, &newnet);