diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2016-02-18 22:51:58 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2016-02-18 22:51:58 +0200 |
commit | 51a797445a4bfc34ad1ae7ea91e12486d823abda (patch) | |
tree | 673d6ca84811f66f4a179b3d98864d2e30bab252 /src/pies.h | |
parent | 0a55965bcc28928ae17ca39e3b8e35adf11ea09c (diff) | |
download | pies-51a797445a4bfc34ad1ae7ea91e12486d823abda.tar.gz pies-51a797445a4bfc34ad1ae7ea91e12486d823abda.tar.bz2 |
Preserve the order of progs when adding new ones.
* src/progman.c (link_prog): Take a pointer to the reference prog
as the second argument. Link the first argument after that reference
prog, or at the head of the list if the reference is NULL.
(register_prog0): Make sure progs are linked exactly in the same order
as the corresponding components.
(prog_create_socket): Process only progs with status == status_listener
(progman_start): Do the right thing depending on the prog type.
Diffstat (limited to 'src/pies.h')
0 files changed, 0 insertions, 0 deletions