view src/imap/cmd-capability.c @ 3863:55df57c028d4 HEAD

Added "bool" type and changed all ints that were used as booleans to bool.
author Timo Sirainen <tss@iki.fi>
date Fri, 13 Jan 2006 22:25:57 +0200
parents 61abed5f7864
children 65c69a53a7be
line wrap: on
line source

/* Copyright (C) 2002 Timo Sirainen */

#include "common.h"
#include "commands.h"
#include "str.h"

bool cmd_capability(struct client_command_context *cmd)
{
	client_send_line(cmd->client,
			 t_strconcat("* CAPABILITY ",
				     str_c(capability_string), NULL));

	client_send_tagline(cmd, "OK Capability completed.");
	return TRUE;
}