~ubuntu-branches/ubuntu/maverick/evolution-data-server/maverick-proposed

« back to all changes in this revision

Viewing changes to servers/exchange/lib/e2k-utils.h

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2010-05-17 17:02:06 UTC
  • mfrom: (1.1.79 upstream) (1.6.12 experimental)
  • Revision ID: james.westby@ubuntu.com-20100517170206-4ufr52vwrhh26yh0
Tags: 2.30.1-1ubuntu1
* Merge from debian experimental. Remaining change:
  (LP: #42199, #229669, #173703, #360344, #508494)
  + debian/control:
    - add Vcs-Bzr tag
    - don't use libgnome
    - Use Breaks instead of Conflicts against evolution 2.25 and earlier.
  + debian/evolution-data-server.install,
    debian/patches/45_libcamel_providers_version.patch:
    - use the upstream versioning, not a Debian-specific one 
  + debian/libedata-book1.2-dev.install, debian/libebackend-1.2-dev.install,
    debian/libcamel1.2-dev.install, debian/libedataserverui1.2-dev.install:
    - install html documentation
  + debian/rules:
    - don't build documentation it's shipped with the tarball

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2
 
/* Copyright (C) 2001-2004 Novell, Inc. */
3
 
 
4
 
#ifndef E2K_UTILS_H
5
 
#define E2K_UTILS_H
6
 
 
7
 
#include <time.h>
8
 
#include "e2k-types.h"
9
 
 
10
 
time_t  e2k_parse_timestamp       (const gchar *timestamp);
11
 
gchar   *e2k_make_timestamp        (time_t when);
12
 
gchar   *e2k_make_timestamp_rfc822 (time_t when);
13
 
 
14
 
time_t  e2k_systime_to_time_t     (guint32 systime);
15
 
guint32 e2k_systime_from_time_t   (time_t tt);
16
 
 
17
 
time_t  e2k_filetime_to_time_t    (guint64 filetime);
18
 
guint64 e2k_filetime_from_time_t  (time_t tt);
19
 
 
20
 
gchar *e2k_lf_to_crlf (const gchar *in);
21
 
gchar *e2k_crlf_to_lf (const gchar *in);
22
 
 
23
 
gchar *e2k_strdup_with_trailing_slash (const gchar *path);
24
 
 
25
 
const gchar *e2k_entryid_to_dn           (GByteArray *entryid);
26
 
 
27
 
gchar       *e2k_entryid_to_permanenturl (GByteArray *entryid,
28
 
                                         const gchar *base_uri);
29
 
GByteArray *e2k_permanenturl_to_entryid (const gchar *permanenturl);
30
 
 
31
 
gint  e2k_ascii_strcase_equal (gconstpointer v,
32
 
                               gconstpointer v2);
33
 
guint e2k_ascii_strcase_hash  (gconstpointer v);
34
 
 
35
 
gboolean e2k_restriction_folders_only (E2kRestriction *rn);
36
 
 
37
 
GByteArray *e2k_entryid_generate_oneoff  (const gchar *display_name,
38
 
                                          const gchar *email,
39
 
                                          gboolean    unicode);
40
 
GByteArray *e2k_entryid_generate_local   (const gchar *exchange_dn);
41
 
GByteArray *e2k_entryid_generate_contact (GByteArray *contact_entryid,
42
 
                                          gint         nth_address);
43
 
GByteArray *e2k_search_key_generate      (const gchar *addrtype,
44
 
                                          const gchar *address);
45
 
 
46
 
#endif /* E2K_UTILS_H */