icd/icd_version.c File Reference

#include <stdlib.h>
#include "icd_version.h"
#include "icd_log.h"

Functions

int icd_version_compare (const char *a, const char *b)

Detailed Description

Copyright (C) 2007 Nokia Corporation. All rights reserved.

Author:
patrik.flykt@nokia.com

Function Documentation

int icd_version_compare ( const char *  a,
const char *  b 
)

Compare two version strings

Parameters:
a version string a
b version string b
Returns:
<= -1 if a < b, 0 if a == b, >= 1 if a > b

Referenced by icd_network_api_init_cb(), and icd_srv_provider_init().


Generated on Thu Mar 11 09:04:50 2010 for ICd2 by  doxygen 1.5.6