diff options
Diffstat (limited to 'src/isode/psap/objectbyname.c')
| -rw-r--r-- | src/isode/psap/objectbyname.c | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/src/isode/psap/objectbyname.c b/src/isode/psap/objectbyname.c deleted file mode 100644 index 586a91560b..0000000000 --- a/src/isode/psap/objectbyname.c +++ /dev/null @@ -1,55 +0,0 @@ -/* objectbyname.c - getisobjectbyname */ - -/* - * isode/psap/objectbyname.c - */ - -/* - * NOTICE - * - * Acquisition, use, and distribution of this module and related - * materials are subject to the restrictions of a license agreement. - * Consult the Preface in the User's Manual for the full terms of - * this agreement. - * - */ - - -/* LINTLIBRARY */ - -#include <stdio.h> -#include "psap.h" -#include "tailor.h" - -/* */ - -struct isobject *getisobjectbyname (descriptor) -char *descriptor; -{ - register struct isobject *io; - - isodetailor (NULLCP, 0); -#ifdef DEBUG - SLOG (addr_log, LLOG_TRACE, NULLCP, - ("getisobjectbyname \"%s\"", descriptor)); -#endif - - (void) setisobject (0); - while (io = getisobject ()) - if (strcmp (descriptor, io -> io_descriptor) == 0) - break; - (void) endisobject (); - - if (io) { -#ifdef DEBUG - SLOG (addr_log, LLOG_DEBUG, NULLCP, - ("\tODE: \"%s\"\tOID: %s", - io -> io_descriptor, sprintoid (&io -> io_identity))); -#endif - } - else - SLOG (addr_log, LLOG_EXCEPTIONS, NULLCP, - ("lookup of object \"%s\" failed", descriptor)); - - return io; -} |
