1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-23 20:59:10 +03:00

Merge of compiler warning fixups.

This commit is contained in:
Tim Potter
-
parent 68b4052281
commit 0308a0a112
10 changed files with 316 additions and 328 deletions

View File

@ -158,32 +158,32 @@ static PyMethodDef srvsvc_methods[] = {
{ "setup_logging", (PyCFunction)py_setup_logging,
METH_VARARGS | METH_KEYWORDS,
"Set up debug logging.
Initialises Samba's debug logging system. One argument is expected which
is a boolean specifying whether debugging is interactive and sent to stdout
or logged to a file.
Example:
>>> srvsvc.setup_logging(interactive = 1)" },
"Set up debug logging.\n"
"\n"
"Initialises Samba's debug logging system. One argument is expected which\n"
"is a boolean specifying whether debugging is interactive and sent to stdout\n"
"or logged to a file.\n"
"\n"
"Example:\n"
"\n"
">>> srvsvc.setup_logging(interactive = 1)" },
{ "get_debuglevel", (PyCFunction)get_debuglevel,
METH_VARARGS,
"Set the current debug level.
Example:
>>> srvsvc.get_debuglevel()
0" },
"Set the current debug level.\n"
"\n"
"Example:\n"
"\n"
">>> srvsvc.get_debuglevel()\n"
"0" },
{ "set_debuglevel", (PyCFunction)set_debuglevel,
METH_VARARGS,
"Get the current debug level.
Example:
>>> srvsvc.set_debuglevel(10)" },
"Get the current debug level.\n"
"\n"
"Example:\n"
"\n"
">>> srvsvc.set_debuglevel(10)" },
{ NULL }
};