Ejemplo n.º 1
0
/* Creates a new handle object and opens it
 * Returns a Python object if successful or NULL on error
 */
PyObject *pyewf_handle_new_open(
           PyObject *self,
           PyObject *arguments,
           PyObject *keywords )
{
	PyObject *pyewf_handle = NULL;

	pyewf_handle = pyewf_handle_new();

	pyewf_handle_open(
	 (pyewf_handle_t *) pyewf_handle,
	 arguments,
	 keywords );

	return( pyewf_handle );
}
Ejemplo n.º 2
0
	return( NULL );
}

/* Creates a new handle object and opens it
 * Returns a Python object if successful or NULL on error
 */
PyObject *pyewf_handle_new_open(
           PyObject *self PYEWF_ATTRIBUTE_UNUSED,
           PyObject *arguments,
           PyObject *keywords )
{
	PyObject *pyewf_handle = NULL;

	PYEWF_UNREFERENCED_PARAMETER( self )

	pyewf_handle = pyewf_handle_new();

	pyewf_handle_open(
	 (pyewf_handle_t *) pyewf_handle,
	 arguments,
	 keywords );

	return( pyewf_handle );
}

/* Creates a new handle object and opens it
 * Returns a Python object if successful or NULL on error
 */
PyObject *pyewf_handle_new_open_file_objects(
           PyObject *self PYEWF_ATTRIBUTE_UNUSED,
           PyObject *arguments,