/* Message handler callback that displays the PID and a string on stdout */
static void print_pid_string_cb(struct messaging_context *msg,
- void *private_data,
- uint32_t msg_type,
+ void *private_data,
+ uint32_t msg_type,
struct server_id pid,
DATA_BLOB *data)
{
/* Ping a samba daemon process */
static void pong_cb(struct messaging_context *msg,
- void *private_data,
- uint32_t msg_type,
+ void *private_data,
+ uint32_t msg_type,
struct server_id pid,
DATA_BLOB *data)
{
/* Return the profiling level */
static void profilelevel_cb(struct messaging_context *msg_ctx,
- void *private_data,
- uint32_t msg_type,
+ void *private_data,
+ uint32_t msg_type,
struct server_id pid,
DATA_BLOB *data)
{
num_replies++;
if (data->length != sizeof(int)) {
- fprintf(stderr, "invalid message length %ld returned\n",
+ fprintf(stderr, "invalid message length %ld returned\n",
(unsigned long)data->length);
return;
}
}
static void profilelevel_rqst(struct messaging_context *msg_ctx,
- void *private_data,
- uint32_t msg_type,
+ void *private_data,
+ uint32_t msg_type,
struct server_id pid,
DATA_BLOB *data)
{
notify_job_status_byname(
ev_ctx, msg_ctx,
- argv[2], jobid, JOB_STATUS_QUEUED,
+ argv[2], jobid, JOB_STATUS_QUEUED,
SPOOLSS_NOTIFY_MSG_UNIX_JOBID);
goto send;
/* There's a potential race condition that if a child
winbindd detects a domain is online at the same time
- we're trying to tell it to go offline that it might
+ we're trying to tell it to go offline that it might
delete the record we add between us adding it and
sending the message. Minimize this by retrying up to
5 times. */
/* POPT_AUTOHELP */
{ NULL, '\0', POPT_ARG_INCLUDE_TABLE, help_options,
0, "Help options:", NULL },
- { "timeout", 't', POPT_ARG_INT, &timeout, 't',
+ { "timeout", 't', POPT_ARG_INT, &timeout, 't',
"Set timeout value in seconds", "TIMEOUT" },
POPT_COMMON_SAMBA
/* Need to invert sense of return code -- samba
* routines mostly return True==1 for success, but
- * shell needs 0. */
+ * shell needs 0. */
ret = !do_command(evt_ctx, msg_ctx, argc, argv);