How to access a list of arguments from C

Lists of arguments in C .

Define:

1. YAP_XARGINFO:

Functions:

1. int Yap_ArgKey(Atom key, const param_t def[], int n): : Scan a list of arguments and output results to a pre-processed vector.

listlinput list defparameter definition return:
all arguments, some of them set, some of them not. Returns the index of an argument key, or -1 if not found.

1. xarg * Yap_ArgListToVector__(const char file, const char function, int lineno, Term listl, const param_t def[], int n, xarg *a, yap_error_number err):

1. static xarg * matchKe/2(Atom key, xarg e0, int n, const param2_t def):

1. xarg * Yap_ArgList2ToVector__(const char file, const char function, int lineno, Term listl, const param2_t *def, int n, yap_error_number err): : Yap_ArgList2ToVector is much the same as before, but assumes parameters also have something called a scope.