- /*
- ** Copyright 1998 - 1999 Double Precision, Inc.
- ** See COPYING for distribution information.
- */
- /*
- ** $Id: cgihasversion.c,v 1.2 1999/12/08 01:07:22 mrsam Exp $
- */
- #include "cgi.h"
- int cgihasversion(unsigned major, unsigned minor)
- {
- unsigned vmajor, vminor;
- cgiversion(&vmajor, &vminor);
- return (vmajor > major || (vmajor == major && vminor >= minor));
- }