Changeset View
Changeset View
Standalone View
Standalone View
usr.bin/sort/sort.h
Show All 26 Lines | |||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
* SUCH DAMAGE. | * SUCH DAMAGE. | ||||
*/ | */ | ||||
#if !defined(__BSD_SORT_H__) | #if !defined(__BSD_SORT_H__) | ||||
#define __BSD_SORT_H__ | #define __BSD_SORT_H__ | ||||
#include <libcasper.h> | |||||
#include <casper/cap_fileargs.h> | |||||
#include <casper/cap_exec.h> | |||||
#include <errno.h> | #include <errno.h> | ||||
#include <stdbool.h> | #include <stdbool.h> | ||||
#include <stdio.h> | #include <stdio.h> | ||||
#include <sysexits.h> | #include <sysexits.h> | ||||
#include <wchar.h> | #include <wchar.h> | ||||
#include <sys/types.h> | #include <sys/types.h> | ||||
#include <md5.h> | #include <md5.h> | ||||
Show All 21 Lines | |||||
* If true, we output some debug information. | * If true, we output some debug information. | ||||
*/ | */ | ||||
extern bool debug_sort; | extern bool debug_sort; | ||||
/* | /* | ||||
* MD5 context for random hash function | * MD5 context for random hash function | ||||
*/ | */ | ||||
extern MD5_CTX md5_ctx; | extern MD5_CTX md5_ctx; | ||||
/* | |||||
* For accessing files, executing compression program in Capability mode | |||||
*/ | |||||
extern fileargs_t *fa_in; | |||||
extern fileargs_t *fa_out; | |||||
extern cap_exec_t *capexec; | |||||
/* | /* | ||||
* sort.c | * sort.c | ||||
*/ | */ | ||||
/* | /* | ||||
* This structure holds main sort options which are NOT affecting the sort ordering. | * This structure holds main sort options which are NOT affecting the sort ordering. | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 51 Lines • Show Last 20 Lines |