diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-10-26 21:57:44 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-10-26 21:57:44 +0200 |
commit | 7e662d44f8c64be0533d2a4548b7ecdda45a2019 (patch) | |
tree | 0ae69f1a7c445257b5fe0b651ad45e3049736aa8 /doc/gendocs_template | |
parent | 4769e173a6630c464c633198c3ac97da3500905a (diff) | |
download | pies-7e662d44f8c64be0533d2a4548b7ecdda45a2019.tar.gz pies-7e662d44f8c64be0533d2a4548b7ecdda45a2019.tar.bz2 |
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/gendocs_template')
0 files changed, 0 insertions, 0 deletions