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

Philip Carns's avatar
Philip Carns committed
7

8 9 10 11 12
#ifndef LP_TYPE_LOOKUP_H
#define LP_TYPE_LOOKUP_H

#include "ross.h"

Jonathan Jenkins's avatar
Jonathan Jenkins committed
13 14
/* look up the lp type registered through lp_type_register. Mostly used
 * internally */
15
const tw_lptype* lp_type_lookup(const char* name);
Jonathan Jenkins's avatar
Jonathan Jenkins committed
16 17

/* register an LP with CODES/ROSS */
18 19 20 21 22 23 24 25 26 27 28 29
void lp_type_register(const char* name, const tw_lptype* type);

#endif /* LP_TYPE_LOOKUP_H */

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