GitLab maintenance scheduled for Tomorrow, 2020-03-31, from 17:00 to 18:00 CT - Services will be unavailable during this time.

CodesIOKernelContext.h 860 Bytes
Newer Older
Philip Carns's avatar
Philip Carns committed
1 2 3 4 5 6
/*
 * Copyright (C) 2013 University of Chicago.
 * See COPYRIGHT notice in top-level directory.
 *
 */

7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
#ifndef CODESIOKERNELCONTEXT_H
#define CODESIOKERNELCONTEXT_H

typedef struct CodesIOKernelContext
{
    void *scanner_;
    char *text;
    void *lval;
    void *locval;

    int64_t sym[26];
    int64_t var[10];
    int64_t next_var[10];

    int inst_ready;

    /* Ning's additions for the bgp storage model */
    /* XXX Does this belong here? */
    int GroupRank;
    int GroupSize;

} CodesIOKernelContext;

void CodesIOKernelScannerInit(
    CodesIOKernelContext * context);
void CodesIOKernelScannerDestroy(
    CodesIOKernelContext * context);

void CodesIOKernelScannerSetSymTable(
    CodesIOKernelContext * context);

#endif
Philip Carns's avatar
Philip Carns committed
39 40 41 42 43 44 45 46 47

/*
 * Local variables:
 *  c-indent-level: 4
 *  c-basic-offset: 4
 * End:
 *
 * vim: ts=8 sts=4 sw=4 expandtab
 */