Back to index

courier  0.68.2
cgihasversion.c
Go to the documentation of this file.
00001 /*
00002 ** Copyright 1998 - 1999 Double Precision, Inc.
00003 ** See COPYING for distribution information.
00004 */
00005 
00006 /*
00007 */
00008 #include      "cgi.h"
00009 
00010 int cgihasversion(unsigned major, unsigned minor)
00011 {
00012 unsigned vmajor, vminor;
00013 
00014        cgiversion(&vmajor, &vminor);
00015        return (vmajor > major || (vmajor == major && vminor >= minor));
00016 }