Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F120836356
lsort.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
785 B
Referenced Files
None
Subscribers
None
lsort.h
View Options
/* lsort.h -- linked list (merge) sort
*/
/* $Id: lsort.h,v 1.2 2002/05/25 19:57:47 leg Exp $ */
#ifndef INCLUDED_LSORT_H
#define INCLUDED_LSORT_H
/*
* returns: head of the sorted list
*
* list: head of the linked list
* getnext: function that returns the next node of the given node
* setnext: function that sets the next node of the first arg to the second arg
* compar: function that compares two nodes (first two args). The third arg
* is a pointer to user data that may be used in comparing the nodes
* call_data: pointer to user data that is passed to compar()
*/
extern
void
*
lsort
(
void
*
list
,
void
*
(
*
getnext
)(
void
*
),
void
(
*
setnext
)(
void
*
,
void
*
),
int
(
*
compar
)(
void
*
,
void
*
,
void
*
),
void
*
call_data
);
#endif
/* INCLUDED_LSORT_H */
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Fri, Apr 24, 1:29 PM (11 h, 27 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
cc/5b/ca5f6542872373efccde0359e711
Default Alt Text
lsort.h (785 B)
Attached To
Mode
R111 cyrus-imapd
Attached
Detach File
Event Timeline