Lines Matching defs:object
89 * object - object value
94 * object. On failure, the contents of opCmd is unspecified.
102 getObjectRules(uint_t object, objectRules_t **objectRules)
107 if (sp->value == object) {
117 * arg - pointer to array of char containing object string
120 * object - pointer to object_t structure pointer
121 * on success, contains the matching object structure based on
122 * input object name
130 getObject(char *arg, object_t **object)
140 *object = op;
178 * object - object for which to get options
182 * on success, optionsProp_t pointer to structure matching input object
187 getOptions(uint_t object, uint_t subcommand)
192 if ((currObject == object) &&
291 * iterate through object table
292 * For each object, print appropriate usage
301 * Print usage for a subcommand and object.
326 * no object entry in object
342 /* print object */
392 /* print options for subcommand, object */
504 * subcommand and object usage respectively.
510 * command subcommand object [<options>] [<operand>]
558 object_t *object;
683 commandName, gettext("missing object"));
716 * object is always in the third argument. If there is no
717 * recognized object in the third argument, print error,
720 if (getObject(argv[2], &object) != 0) {
722 commandName, gettext("invalid object"));
727 if (getObjectRules(object->value, &objRules) != 0) {
730 * no object entry in object table
738 * Is command valid for this object?
742 gettext("invalid subcommand for"), object->name);
782 * Once all options are retrieved, check against object
792 subcommand, object);
827 /* get option string for this object and subcommand */
828 availOptions = getOptions(object->value, subcommand->value);
834 subUsageObject(HELP_USAGE, subcommand, object);
856 object);
869 object);
880 object);
893 object->name, gettext("requires an operand"));
894 subUsageObject(HELP_USAGE, subcommand, object);
906 object->name, gettext("takes no operands"));
907 subUsageObject(HELP_USAGE, subcommand, object);
918 commandName, subcommand->name, object->name,
920 subUsageObject(HELP_USAGE, subcommand, object);
929 object->value, &cmdOptions[0], callArgs);