/usr/include/schroedinger-1.0/schroedinger/schrobuffer.h is in libschroedinger-dev 1.0.11-2.1build1.
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 | #ifndef __SCHRO_BUFFER_H__
#define __SCHRO_BUFFER_H__
#include <schroedinger/schroutils.h>
SCHRO_BEGIN_DECLS
typedef struct _SchroBuffer SchroBuffer;
typedef struct _SchroTag SchroTag;
struct _SchroBuffer
{
/*< private >*/
unsigned char *data;
unsigned int length;
int ref_count;
SchroBuffer *parent;
void (*free) (SchroBuffer *, void *);
void *priv;
SchroTag* tag;
};
struct _SchroTag
{
void (*free) (void *);
void *value;
};
SchroBuffer *schro_buffer_new (void);
SchroBuffer *schro_buffer_new_and_alloc (int size);
SchroBuffer *schro_buffer_new_with_data (void *data, int size);
SchroBuffer *schro_buffer_new_subbuffer (SchroBuffer * buffer, int offset,
int length);
SchroBuffer *schro_buffer_dup (SchroBuffer * buffer);
SchroBuffer * schro_buffer_ref (SchroBuffer * buffer);
void schro_buffer_unref (SchroBuffer * buffer);
SchroTag *schro_tag_new (void *value, void (*free_func) (void *));
void schro_tag_free (SchroTag *tag);
SCHRO_END_DECLS
#endif
|