Changeset 16 for trunk/src/prefix_mgmt.c

Show
Ignore:
Timestamp:
03/17/06 17:15:12 (17 years ago)
Author:
andreu
Message:

Friday save

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/prefix_mgmt.c

    r15 r16  
    2626#include "prefix_mgmt.h" 
    2727 
     28/* 
     29 * prefCmp() 
     30 */ 
     31int 
     32prefCmp(const void *elem1, const void *elem2){ 
     33  struct PrefixV4 *el1 = (struct PrefixV4 *) elem1; 
     34  struct PrefixV4 *el2 = (struct PrefixV4 *) elem2; 
     35  return (  
     36          el1->beginning - el2->beginning 
     37          ); 
     38}