12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- #ifndef _INIT_INIT_H
- #define _INIT_INIT_H
- #include <sys/types.h>
- #include <functional>
- #include <string>
- #include <vector>
- #include "action.h"
- #include "action_manager.h"
- #include "parser.h"
- #include "service.h"
- namespace android {
- namespace init {
- extern std::string default_console;
- extern std::vector<std::string> late_import_paths;
- Parser CreateParser(ActionManager& action_manager, ServiceList& service_list);
- Parser CreateServiceOnlyParser(ServiceList& service_list);
- void HandleControlMessage(const std::string& msg, const std::string& arg, pid_t pid);
- void property_changed(const std::string& name, const std::string& value);
- bool start_waiting_for_property(const char *name, const char *value);
- void DumpState();
- void ResetWaitForProp();
- int SecondStageMain(int argc, char** argv);
- }
- }
- #endif
|