/* list.h */

#ifndef _list_h
#define _list_h

/* First call, enter with list.
   Subsequent calls enter with list = NULL.
   terminator is the character terminating the list, # when string building.
   object and component must be pointers.
   If processing a range then sets *separator to dividing character.
   Sets *separator to 0 for last item in range.
   Returns o = -1 and c = -1 to finish.
*/
  
_kernel_oserror *listItem
( char *list, char terminator,
  ObjectId *object, ComponentId *component, char *separator);

#endif
