int cvxCmClashDetect
(
int partIdx,      /* I: idx of part */
int stockIdx,     /* I: idx of stock */
int cnt,          /* I: number of operations */
int *idx_op       /* I: index list of operations */
)
/*
DESCRIPTION:
Detect clash of operations, the operations should have been calculated.
If clash happened, corresponding toolpath will change its color.

Returns 1 if function fails; 0 if it succeeds.
*/
________________________________________________________________________________

int cvxCmConfigFileGetString
(
const char *form,          /* I: form name */
int  field,                /* I: field id number */
int  casesensitive,        /* I: case sensitive comparison flag */
char *dbstring,            /* I/O: DB string */
char *guistring,           /* I/O: GUI string */
int  *found                /* O: flag to see if item was found */
)
/*
DESCRIPTION:
You can only specify either dbstring or guistring but not both. Whichever
one is not specified is returned as output. If the requested string cannot
be found then the input string is returned as output.

Returns 1 if function fails; 0 if it succeeds.
*/
________________________________________________________________________________

int cvxCmGougeDetect
(
int partIdx,      /* I: idx of part */
int stockIdx,     /* I: idx of stock */
int cnt,          /* I: number of operations */
int *idx_op       /* I: index list of operations */
)
/*
DESCRIPTION:
Detect gouge of operations, the operations should have been calculated.
If gouge happened, corresponding toolpath will change its color.

Returns 1 if function fails; 0 if it succeeds.
*/
________________________________________________________________________________

int cvxCmInqAl
(
evxCmObjType type,   /* I: cam object type */
int* cnt,            /* O: the amount this type of objects */
int** idx            /* O: the index of the object list, user is response to free this memory */
)
/*
DESCRIPTION:
Inquire the indexes of this type in the active CamPlan.

Returns 1 if function fails; 0 if it succeeds.
*/
________________________________________________________________________________

int cvxCmInqIndexFromName
(
evxCmObjType objClass, /* I: class of object */
vxLongName sName,      /* I: name of object */
int *index             /* O: index of object found (or -1 if not found) */
)
/*
DESCRIPTION:
Get the object index for the object with the specified name.

Returns 1 if function fails; 0 if it succeeds.
*/
________________________________________________________________________________

int cvxCmInqOpName
(
int idx_op,                    /* I: index of the operation */
vxLongName opName              /* O: name of the operation */
)
/*
DESCRIPTION:
Inquire the name of the operation.

Returns 1 if function fails; 0 if it succeeds.
*/
________________________________________________________________________________

int cvxCmSolidVerify
(
void
)
/*
DESCRIPTION:
   Verify all operations. There must be a stock.

   return value =ZW_CAM_GOUGE gouge, ZW_CAM_NOTGOUGE no gouge, -1 err.
*/
________________________________________________________________________________