/usr/include/libdynamite.h is in libdynamite-dev 0.1.1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | /* $Id: libdynamite.h 1170 2003-08-22 08:55:41Z twogood $ */
#ifndef __libdynamite_h__
#define __libdynamite_h__
/*
She's a dancehall queen for life
Gonna explode like dynamite
And she's moving outta sight
Now she a guh mash up di place like dynamite
http://www.beenie-man.com/dancehall_queen.htm
*/
#include <stdbool.h>
#include <sys/param.h>
typedef enum
{
DYNAMITE_SUCCESS,
DYNAMITE_NOT_IMPLEMENTED,
DYNAMITE_BAD_FORMAT,
DYNAMITE_UNEXPECTED_ERROR,
DYNAMITE_READ_ERROR,
DYNAMITE_WRITE_ERROR
} DynamiteResult;
typedef size_t (*dynamite_reader)(void* buffer, size_t size, void* cookie);
typedef size_t (*dynamite_writer)(void* buffer, size_t size, void* cookie);
DynamiteResult dynamite_explode(dynamite_reader reader, dynamite_writer writer, void* cookie);
#endif
|