forked from lix-project/lix
0746951be1
* Finish converting existing comments for internal API docs 99% of this was just reformatting existing comments. Only two exceptions: - Expanded upon `BuildResult::status` compat note - Split up file-level `symbol-table.hh` doc comments to get per-definition docs Also fixed a few whitespace goofs, turning leading tabs to spaces and removing trailing spaces. Picking up from #8133 * Fix two things from comments * Use triple-backtick not indent for `dumpPath` * Convert GNU-style `\`..'` quotes to markdown style in API docs This will render correctly.
40 lines
543 B
C++
40 lines
543 B
C++
#pragma once
|
|
///@file
|
|
|
|
#include "logging.hh"
|
|
#include "serialise.hh"
|
|
|
|
namespace nix {
|
|
|
|
struct HookInstance
|
|
{
|
|
/**
|
|
* Pipes for talking to the build hook.
|
|
*/
|
|
Pipe toHook;
|
|
|
|
/**
|
|
* Pipe for the hook's standard output/error.
|
|
*/
|
|
Pipe fromHook;
|
|
|
|
/**
|
|
* Pipe for the builder's standard output/error.
|
|
*/
|
|
Pipe builderOut;
|
|
|
|
/**
|
|
* The process ID of the hook.
|
|
*/
|
|
Pid pid;
|
|
|
|
FdSink sink;
|
|
|
|
std::map<ActivityId, Activity> activities;
|
|
|
|
HookInstance();
|
|
|
|
~HookInstance();
|
|
};
|
|
|
|
}
|