mirror of
https://github.com/samba-team/samba.git
synced 2025-08-04 08:22:08 +03:00
Moved function prototypes to py_common_proto.h
This commit is contained in:
@ -21,16 +21,6 @@
|
|||||||
#ifndef _PY_COMMON_H
|
#ifndef _PY_COMMON_H
|
||||||
#define _PY_COMMON_H
|
#define _PY_COMMON_H
|
||||||
|
|
||||||
/* Function prototypes */
|
|
||||||
|
|
||||||
void py_samba_init(void);
|
|
||||||
PyObject *py_werror_tuple(WERROR werror);
|
|
||||||
PyObject *py_ntstatus_tuple(NTSTATUS ntstatus);
|
|
||||||
|
|
||||||
PyObject *py_setup_logging(PyObject *self, PyObject *args, PyObject *kw);
|
|
||||||
PyObject *get_debuglevel(PyObject *self, PyObject *args);
|
|
||||||
PyObject *set_debuglevel(PyObject *self, PyObject *args);
|
|
||||||
|
|
||||||
/* Return a cli_state struct opened on the SPOOLSS pipe. If credentials
|
/* Return a cli_state struct opened on the SPOOLSS pipe. If credentials
|
||||||
are passed use them. */
|
are passed use them. */
|
||||||
|
|
||||||
@ -38,8 +28,6 @@ typedef struct cli_state *(cli_pipe_fn)(
|
|||||||
struct cli_state *cli, char *system_name,
|
struct cli_state *cli, char *system_name,
|
||||||
struct ntuser_creds *creds);
|
struct ntuser_creds *creds);
|
||||||
|
|
||||||
struct cli_state *open_pipe_creds(char *system_name, PyObject *creds,
|
#include "python/py_common_proto.h"
|
||||||
cli_pipe_fn *connect_fn,
|
|
||||||
struct cli_state *cli);
|
|
||||||
|
|
||||||
#endif /* _PY_COMMON_H */
|
#endif /* _PY_COMMON_H */
|
||||||
|
Reference in New Issue
Block a user