#ifndef SUIT_JOIN_H #define SUIT_JOIN_H #include "resolve.h" // Joined instructions: a harness has one instruction file, and when more than // one wear supplies one, suit writes a file of its own with all of them in it. constexpr size_t JOIN_SOURCE_MAX = 524288; // each source file // Whether the file at J->path holds what the join would write: 1 if so, 0 if // it is missing or differs, -1 after saying on stderr why a source cannot be // read. int join_current(const Join *j); // Write the file atomically. Returns 0, or 1 after saying why. int join_write(const Join *j); #endif