ipc-group.c revision bcb4e51a409d94ae670de96afb8483a4f7855294
18daenzerorama/* Copyright (c) 2011-2018 Dovecot authors, see the included COPYING file */
18daenzerorama#include "lib.h"
18daenzerorama#include "array.h"
18daenzerorama#include "ipc-connection.h"
18daenzerorama#include "ipc-group.h"
18daenzeroramastruct ipc_group_cmd {
18daenzerorama void *context;
18daenzerorama int refcount;
18daenzerorama char *first_error;
18daenzerorama return group;
18daenzerorama unsigned int i, count;
for (i = 0; i < count; i++) {
return *groupp;
return NULL;
return *groupp;
return NULL;
switch (status) {
case IPC_CMD_STATUS_REPLY:
case IPC_CMD_STATUS_ERROR:
case IPC_CMD_STATUS_OK:
return FALSE;
return TRUE;
void ipc_groups_init(void)
void ipc_groups_deinit(void)