f497f9fe231e0e400f339c84a7d80c4aae2ac4d5Joshua M. Clulow * This file and its contents are supplied under the terms of the
f497f9fe231e0e400f339c84a7d80c4aae2ac4d5Joshua M. Clulow * Common Development and Distribution License ("CDDL"), version 1.0.
f497f9fe231e0e400f339c84a7d80c4aae2ac4d5Joshua M. Clulow * You may only use this file in accordance with the terms of version
f497f9fe231e0e400f339c84a7d80c4aae2ac4d5Joshua M. Clulow * 1.0 of the CDDL.
f497f9fe231e0e400f339c84a7d80c4aae2ac4d5Joshua M. Clulow * A full copy of the text of the CDDL should have accompanied this
f497f9fe231e0e400f339c84a7d80c4aae2ac4d5Joshua M. Clulow * source. A copy of the CDDL is also available via the Internet at
f497f9fe231e0e400f339c84a7d80c4aae2ac4d5Joshua M. Clulow * Copyright 2012 (c), Joyent, Inc. All rights reserved.
f497f9fe231e0e400f339c84a7d80c4aae2ac4d5Joshua M. Clulow " \"sizes\": [ \"first\", 2, %f ]," \
f497f9fe231e0e400f339c84a7d80c4aae2ac4d5Joshua M. Clulow " \"index\": %d," \
f497f9fe231e0e400f339c84a7d80c4aae2ac4d5Joshua M. Clulow " \"facts\": {" \
f497f9fe231e0e400f339c84a7d80c4aae2ac4d5Joshua M. Clulow " \"odd\": \"%s\"," \
f497f9fe231e0e400f339c84a7d80c4aae2ac4d5Joshua M. Clulow " \"even\": \"%s\"" \
f497f9fe231e0e400f339c84a7d80c4aae2ac4d5Joshua M. Clulow " \"action\": \"%s\"" \
f497f9fe231e0e400f339c84a7d80c4aae2ac4d5Joshua M. Clulow volatile int a = 0;
f497f9fe231e0e400f339c84a7d80c4aae2ac4d5Joshua M. Clulow while (waiting(&a) == 0)
f497f9fe231e0e400f339c84a7d80c4aae2ac4d5Joshua M. Clulow asprintf(&json, FMT, size, idx, odd, even, action);
f497f9fe231e0e400f339c84a7d80c4aae2ac4d5Joshua M. Clulow BUNYAN_FAKE_LOG_DEBUG("{\"finished\": true}");