Changeset 3f7e1f24 in mainline for uspace/srv/sysman/sysman.h


Ignore:
Timestamp:
2019-08-03T08:28:26Z (6 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
095d03c
Parents:
d7c5fc0
git-author:
Michal Koutný <xm.koutny+hos@…> (2015-04-22 17:54:08)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-08-03 08:28:26)
Message:

sysman: Refactored job manipulation (event loop + one main fibril)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/sysman/sysman.h

    rd7c5fc0 r3f7e1f24  
    3030#define SYSMAN_SYSMAN_H
    3131
     32#include "job.h"
    3233#include "unit.h"
    3334
    34 extern int sysman_unit_start(unit_t *);
     35typedef void (*event_handler_t)(void *);
     36typedef void (*callback_handler_t)(void *object, void *data);
     37
     38extern void sysman_events_init(void);
     39
     40extern int sysman_events_loop(void *);
     41
     42extern void sysman_raise_event(event_handler_t, void *);
     43
     44extern int sysman_object_observer(void *, callback_handler_t, void *);
     45
     46
     47extern void sysman_event_job_process(void *);
     48extern void sysman_event_job_queue_run(void *);
     49extern void sysman_event_job_changed(void *);
    3550
    3651#endif
Note: See TracChangeset for help on using the changeset viewer.