/* idtest.c - ber decoding test program using isode libraries */
/*
+ * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
+ * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
+ */
+/* Portions
* Copyright (c) 1990 Regents of the University of Michigan.
* All rights reserved.
*
#include "portable.h"
#include <stdio.h>
+#include <stdlib.h>
+
+#ifdef HAVE_PSAP_H
#include <psap.h>
#include <quipu/attr.h>
+#endif
-static usage( char *name )
-{
- fprintf( stderr, "usage: %s\n", name );
-}
-
+int
main( int argc, char **argv )
{
+#ifdef HAVE_PSAP_H
PE pe;
PS psin, psout, pserr;
}
exit( 0 );
+#else
+ fprintf(stderr, "requires ISODE X.500 distribution.\n");
+ return( EXIT_FAILURE );
+#endif
}