/* Collection of code snippets by Arne Vajhøj */
/* (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) */
#include <stdio.h>

#include "foobar.h"

int main()
{
    FOOBAR_CTX ctx;
    foobar_init(&ctx);
    foobar_set_v(ctx, 123);
    printf("%d\n", foobar_get_v(ctx)); 
    foobar_destroy(ctx);
    return 0;
}
