/usr/include/schroedinger-1.0/schroedinger/schropack.h is in libschroedinger-dev 1.0.11-2ubuntu1.
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 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | #ifndef _SCHRO_PACK_H_
#define _SCHRO_PACK_H_
#include <schroedinger/schroutils.h>
#include <schroedinger/schrobuffer.h>
SCHRO_BEGIN_DECLS
typedef struct _SchroPack SchroPack;
struct _SchroPack {
SchroBuffer *buffer;
int n;
int shift;
int n_pack;
uint32_t value;
int error;
};
#ifdef SCHRO_ENABLE_UNSTABLE_API
SchroPack * schro_pack_new (void);
void schro_pack_free (SchroPack *pack);
void schro_pack_encode_init (SchroPack *pack, SchroBuffer *buffer);
void schro_pack_copy (SchroPack *dest, SchroPack *src);
void schro_pack_sync (SchroPack *pack);
void schro_pack_flush (SchroPack *pack);
int schro_pack_get_offset (SchroPack *pack);
int schro_pack_get_bit_offset (SchroPack *pack);
void schro_pack_append (SchroPack *pack, const uint8_t *data, int len);
void schro_pack_append_zero (SchroPack *pack, int len);
void schro_pack_encode_bit (SchroPack *pack, int value);
void schro_pack_encode_bits (SchroPack *pack, int n, unsigned int value);
void schro_pack_encode_uint (SchroPack *pack, int value);
void schro_pack_encode_sint (SchroPack *pack, int value);
void schro_pack_encode_sint_s16 (SchroPack *pack, int16_t *values, int n);
void schro_pack_encode_sint_s32 (SchroPack *pack, int32_t *values, int n);
int schro_pack_estimate_uint (int value);
int schro_pack_estimate_sint (int value);
#endif
SCHRO_END_DECLS
#endif
|