next up previous index
Next: Passing Control and Data Up: Summary of C Interface Previous: Operations on ECLiPSe Data   Index

Initialising and Shutting Down the ECLiPSe Subsystem

These are the functions needed to embed ECLiPSe into a C main program.
int ec_set_option_int(int, int)

Set the value of a numerical option (see appendix A).

int ec_set_option_ptr(int, char *)

Set the value of a string-valued option (see appendix A).

int ec_init()

Initialise the ECLiPSe engine. This is required before any other functions of this interface (except option setting) can be used.

int ec_cleanup()

Shutdown the ECLiPSe engine.



Warwick Harvey
2004-08-07