4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
28 typedef struct _uuid_t
{
31 guint16 time_hi_and_version
;
32 guint8 clock_seq_hi_and_reserved
;
43 char *generateUUIDfromEPID(const gchar
*epid
);
44 void printUUID(sipe_uuid_t
*uuid
, char *string
);
45 void readUUID(const char *string
, sipe_uuid_t
*uuid
);
46 void createUUIDfromHash(sipe_uuid_t
*uuid
, const unsigned char *hash
);
48 char *sipe_get_epid(const char *self_sip_uri
,
50 const char *ip_address
);
53 #endif /* SIPE_UUID_H_ */