Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals   Examples  

sort.h

Go to the documentation of this file.
00001 /*! \file sort.h
00002     Header file for qksort.c
00003  */
00004 
00005 #ifndef SORT_HEADER
00006 
00007 #ifdef __cplusplus
00008 extern "C" {
00009 #endif
00010 
00011 int issort (
00012               void *donnee,
00013               int  nb_elts,
00014               int  taille_elt,
00015               int  (*compare)(const void *cle1, const void *cle2)
00016            );
00017 
00018 int extended_issort (
00019                       void  *donnee,
00020                       int   nb_elts,
00021                       int   taille_elt,
00022                       int   (*compare)(const void *cle1, const void *cle2),
00023                       int   (*copy_data)(void *src, void *dest),
00024                       int   (*init_elem)(void *elm)
00025                     );
00026 
00027 int qksort (
00028              void *donnee,
00029              int  nb_elts,
00030              int  taille_elt,
00031              int  i,
00032              int  k,
00033              int  (*compare)(const void *cle1, const void *cle2)
00034            );
00035 
00036 int extended_qksort (
00037                       void  *donnee,
00038                       int   nb_elts,
00039                       int   taille_elt,
00040                       int   i,
00041                       int   k,
00042                       int   (*compare)(const void *cle1, const void *cle2),
00043                       int   (*copy_data)(void *src, void *dest),
00044                       int   (*init_elem)(void *elm)
00045                     );
00046 
00047 
00048 
00049 #ifdef __cplusplus
00050 }
00051 #endif
00052 
00053 #define SORT_HEADER
00054 #endif

Generated on Thu Apr 3 16:23:44 2003 for Common_C_libraries by doxygen1.3-rc1