#ifndef _XLPGLUE_H_
#define _XLPGLUE_H_
#ifndef _RATLPTYPES_H_
#error "Need to include ratlptypes.h before xlpglue.h"
#endif
#ifndef _MME_H_
#error "Need to include mme.h before xlpglue.h"
#endif
#ifndef ATTRIBUTE_H_
#error "Need to include attribute.h before xlpglue.h"
#endif
#ifdef __cplusplus
extern "C" {
#endif
extern Lps* xlp_alloc(char const* name, bool need_startval, void* user_data) expects_NONNULL1 returns_NONNULL;
extern void xlp_free(Lps* lp) expects_NONNULL;
extern bool xlp_conname_exists(Lps const* lp, char const* conname) expects_NONNULL is_PURE;
extern bool xlp_addcon_term(Lps* lp, char const* name, ConType type,
Numb const* lhs, Numb const* rhs, unsigned int flags, Term const* term) expects_NONNULL;
extern Var* xlp_addvar(Lps* lp, char const* name, VarClass usevarclass,
Bound const* lower, Bound const* upper, Numb const* priority, Numb const* startval) expects_NONNULL returns_NONNULL;
extern int xlp_addsos_term(Lps* lp, char const* name, SosType type, Numb const* priority, Term const* term) expects_NONNULL;
char const* xlp_getvarname(Lps const* lp, Var const* var) expects_NONNULL returns_NONNULL is_PURE;
extern VarClass xlp_getclass(Lps const* lp, Var const* var) expects_NONNULL is_PURE;
extern Bound* xlp_getlower(Lps const* lp, Var const* var) expects_NONNULL returns_NONNULL;
extern Bound* xlp_getupper(Lps const* lp, Var const* var) expects_NONNULL returns_NONNULL;
extern bool xlp_setobj(Lps* lp, char const* name, bool minimize) expects_NONNULL;
extern void xlp_addtoobj(Lps* lp, Term const* term) expects_NONNULL;
#ifdef __cplusplus
}
#endif
#endif