|author||Sergey Poznyakoff <firstname.lastname@example.org>||2009-10-26 21:57:44 +0200|
|committer||Sergey Poznyakoff <email@example.com>||2009-10-26 21:57:44 +0200|
Rearrange structures prog and component.
* config_array_to_argv (config_array_to_argv): Take four arguments. Return argc in the memory location pointed to by the 4th one (unless NULL). All callers updated. (_cb_command): Fill both comp->argv and comp->argc. (component_keywords): Pass pointer to struct component to _cb_command. * src/pies.h (struct component): New member `argc'. * src/progman.c (struct prog): Move idx to v.p; change its type to unsigned. Remove v.p.argc. All uses updated. (numprog): Rename to numcomp; change type to unsigned. (prog_lookup_by_idx): Check only elements of type TYPE_COMPONENT.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions