view src/protocols/zephyr/ZCmpUIDP.c @ 9434:c5cf752acc4a

[gaim-migrate @ 10254] " Adds slash commands, ensures that server supplied subscriptions are not ignored, cleans up some cases where non-utf8 text was passed to display widgets, and adds a utility function -- zephyr_send_message() -- to get rid of code duplication. Added slash commands: /msg sends an IM to a user. /inst /instance both set the instance for the current class /zl and /zlocate will return user location information (like Get Info) for a user. /sub will allow a user to join a new chat /zi sends message to <"message",instance,"*"> /zc sends message to <class,"PERSONAL","*"> /zci sends a message to <class,instance,"*"> /zcir sends a message to <class,instance,recipient or realm> /zir sends a message to <"message",instance,recipient or realm>" --Arun A Tharuvai committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Wed, 30 Jun 2004 20:38:41 +0000
parents 43d6c08d7e96
children 64895571248f
line wrap: on
line source

/* This file is part of the Project Athena Zephyr Notification System.
 * It contains source for the ZCompareUIDPred function.
 *
 *	Created by:	Robert French
 *
 *	$Source$
 *	$Author: chipx86 $
 *
 *	Copyright (c) 1987 by the Massachusetts Institute of Technology.
 *	For copying and distribution information, see the file
 *	"mit-copyright.h". 
 */
/* $Header$ */

#ifndef lint
static char rcsid_ZCompareUIDPred_c[] = "$Header$";
#endif

#include "internal.h"

int ZCompareUIDPred(notice, uid)
    ZNotice_t *notice;
    void *uid;
{
    return (ZCompareUID(&notice->z_uid, (ZUnique_Id_t *) uid));
}

int ZCompareMultiUIDPred(notice, uid)
    ZNotice_t *notice;
    void *uid;
{
    return (ZCompareUID(&notice->z_multiuid, (ZUnique_Id_t *) uid));
}