~ubuntu-branches/ubuntu/natty/evolution-data-server/natty

« back to all changes in this revision

Viewing changes to camel/camel-list-utils.c

  • 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:
50
50
 *
51
51
 * Add the list node @n to the head (start) of the list @l.
52
52
 *
53
 
 * Return value: @n.
 
53
 * Returns: @n.
54
54
 **/
55
55
CamelDListNode *
56
56
camel_dlist_addhead (CamelDList *l, CamelDListNode *n)
69
69
 *
70
70
 * Add the list onde @n to the tail (end) of the list @l.
71
71
 *
72
 
 * Return value: @n.
 
72
 * Returns: @n.
73
73
 **/
74
74
CamelDListNode *
75
75
camel_dlist_addtail (CamelDList *l, CamelDListNode *n)
87
87
 *
88
88
 * Remove @n from the list it's in.  @n must belong to a list.
89
89
 *
90
 
 * Return value: @n.
 
90
 * Returns: @n.
91
91
 **/
92
92
CamelDListNode *
93
93
camel_dlist_remove (CamelDListNode *n)
127
127
 *
128
128
 * Remove the last node in the list.
129
129
 *
130
 
 * Return value: The previously last-node in the list, or NULL if @l
 
130
 * Returns: The previously last-node in the list, or NULL if @l
131
131
 * is an empty list.
132
132
 **/
133
133
CamelDListNode *
151
151
 *
152
152
 * Returns %TRUE if @l is an empty list.
153
153
 *
154
 
 * Return value: %TRUE if @l is an empty list, %FALSE otherwise.
 
154
 * Returns: %TRUE if @l is an empty list, %FALSE otherwise.
155
155
 **/
156
156
gint
157
157
camel_dlist_empty (CamelDList *l)
165
165
 *
166
166
 * Returns the number of nodes in the list @l.
167
167
 *
168
 
 * Return value: The number of nodes.
 
168
 * Returns: The number of nodes.
169
169
 **/
170
170
gint
171
171
camel_dlist_length (CamelDList *l)
221
221
        CamelSListNode *p, *q;
222
222
 
223
223
        p = (CamelSListNode *)l;
224
 
        while ( (q = p->next) ) {
 
224
        while ((q = p->next)) {
225
225
                if (q == n) {
226
226
                        p->next = n->next;
227
227
                        return n;