/usr/include/python2.7/pyogg/pyogg.h is in python-ogg 1.3+repack-5ubuntu2.
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 | #ifndef __PYOGG_H__
#define __PYOGG_H__
#include <Python.h>
#include <ogg/ogg.h>
/* The struct to hold everything we pass from the _ogg module
* to its submodules.
*/
typedef struct {
int version_major;
int version_minor;
PyTypeObject *OggPacket_Type;
PyTypeObject *OggStreamState_Type;
PyObject *Py_OggError;
PyObject *(*ogg_packet_from_packet)(ogg_packet *op);
int (*arg_to_int64)(PyObject *longobj, ogg_int64_t *val);
} ogg_module_info;
/*
Function to convert Long Python objects into an ogg_int64 value.
Returns 0 on failure (a Python error will be set)
*/
int arg_to_int64(PyObject *longobj, ogg_int64_t *val);
#endif // __PYOGG_H__
|