view libpurple/protocols/zephyr/ZCmpUID.c @ 23039:25975a6a5b63

applied changes from 9409309cfd4634425fdacbdb3d751afd0bc89a84 through 7a36a9ecbcc902ee89656d5267e613aa1dc0b889
author Daniel Atallah <daniel.atallah@gmail.com>
date Thu, 19 Jun 2008 03:40:31 +0000
parents 5fe8042783c1
children a8cc50c2279f
line wrap: on
line source

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

#include "internal.h"

int ZCompareUID(uid1, uid2)
    ZUnique_Id_t *uid1, *uid2;
{
    return (!memcmp((char *)uid1, (char *)uid2, sizeof (*uid1)));
}