Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ne_version_string(3) [redhat man page]

NE_VERSION_MATCH(3)						neon API reference					       NE_VERSION_MATCH(3)

NAME
ne_version_match, ne_version_string - library versioning SYNOPSIS
#include <ne_utils.h> int ne_version_match (int major, int minor); const char *ne_version_string (void); DESCRIPTION
The ne_version_match function returns non-zero if the library version is not of major version major, or the minor version is less than mi- nor. The ne_version_string function returns a string giving the library version. EXAMPLES
To require neon 1.x, version 1.2 or later: if (ne_version_match(1, 2)) { printf("Library version out of date: 1.2 required, found %s.", ne_version_string()); exit(1); } AUTHOR
Joe Orton <neon@webdav.org>. neon 0.23.5 8 October 2002 NE_VERSION_MATCH(3)

Check Out this Related Man Page

NEON-CONFIG(1)							       neon							    NEON-CONFIG(1)

NAME
neon-config - script providing information about installed copy of neon library SYNOPSIS
neon-config [--prefix] [--cflags | --libs | --support feature | --help | --version] DESCRIPTION
The neon-config script provides information about an installed copy of the neon library. The --cflags and --libs options instruct how to compile and link an application against the library; the --version and --support options can help determine whether the library meets the applications requirements. OPTIONS
--cflags Print the flags which should be passed to the C compiler when compiling object files, when the object files use neon header files. --libs Print the flags which should be passed to the linker when linking an application which uses the neon library --version Print the version of the library --prefix dir If dir is given; relocate output of --cflags and --libs as if neon was installed in given prefix directory. Otherwise, print the installation prefix of the library. --support feature The script exits with success if feature is supported by the library. --help Print help message; includes list of known features and whether they are supported or not. EXAMPLE
Below is a Makefile fragment which could be used to build an application against an installed neon library, when the neon-config script can be found in $PATH. CFLAGS = `neon-config --cflags` LIBS = `neon-config --libs` OBJECTS = myapp.o TARGET = myapp $(TARGET): $(OBJECTS) $(CC) $(LDFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS) myapp.o: myapp.c $(CC) $(CFLAGS) -c myapp.c -o myapp.o AUTHOR
Joe Orton <neon@webdav.org>. neon 0.23.5 8 October 2002 NEON-CONFIG(1)
Man Page