atnds.h

Go to the documentation of this file.
00001 /* Emacs mode: -*- C -*- */
00002 
00003 /* 
00004  * Copyright (c) 2005-2007, Isode Limited, London, England.
00005  * All rights reserved.
00006  *
00007  * Acquisition and use of this software and related materials for any
00008  * purpose requires a written licence agreement from Isode
00009  * Limited, or a written licence from an organisation licenced by Isode
00010  * Limited to grant such a licence.
00011  *
00012  */
00013 
00014 /*
00015  * atnds.h
00016  *
00017  * ATN support functions that make use of the ATN directory to:
00018  *
00019  * o Convert between AFTN and AMHS address formats.
00020  * o Retrieve the entries associated with an end user (AMHS/AFTN terminal).
00021  *
00022  */
00023 
00024 /* 
00025  * $RCSfile: atnds.h,v $ $Revision: 1.8 $ $State: Exp $
00026  *
00027  * $Log: atnds.h,v $
00028  * Revision 1.8  2007/05/15 13:17:10  dbw
00029  * T070515D - Update/Add copyright
00030  *
00031  * Revision 1.7  2007/03/26 16:12:05  cjr
00032  * T070326J - Clarify return value of ATNds_AFTN2AMHS().
00033  *
00034  * Revision 1.6  2006/10/05 13:49:25  tc
00035  * T061005C - Add function prototype for ATNds_free().
00036  *
00037  * Revision 1.5  2006/09/25 12:34:47  cjr
00038  * T060925J - Replace front page material, and add pointers to the example
00039  *            and key API functions.
00040  *
00041  * Revision 1.4  2005/07/21 10:50:16  dsm
00042  * T050720C - Add atnds_test.c as an example.
00043  *
00044  * Revision 1.3  2005/07/04 12:23:38  cjr
00045  * T050704A - Change result types to DS_Status.
00046  *
00047  * Revision 1.2  2005/05/13 10:49:47  dsm
00048  * T050513C - Add Windows declaration specifiers.
00049  *
00050  * Revision 1.1  2005/04/27 11:58:13  dsm
00051  * T050427G - Initial revision.
00052  *
00053  *
00054  */
00055 
00056 #ifndef ISODE_ATNDIR_H
00057 #define ISODE_ATNDIR_H
00058 
00059 #include <isode/ds/dsapi/dsapi.h>
00060 #include <isode/ds/atnds/atnds_cdecl.h>
00061 
00153 LIBATNDS_CDECL
00154 void ATNds_free (
00155     void *ptr
00156 );
00157 
00176 LIBATNDS_CDECL
00177 DS_Status ATNds_AFTN2AMHS (
00178     DS_Session *session,
00179     const DS_DN *registry_dn,
00180     const char *aftn_addr,
00181     char **orbuf_p,
00182     size_t *orbuf_len_p,
00183     DS_DN **userdn_p
00184 );
00185 
00196 LIBATNDS_CDECL
00197 DS_Status ATNds_AMHS2AFTN (
00198     DS_Session *session,
00199     const DS_DN *registry_dn,
00200     const char *x400_or_addr,
00201     char *aftn_buf,
00202     DS_DN **userdn_p
00203 );
00204 
00207 #endif /* ISODE_ATNDIR_H */
Copyright © 2008 Isode privacy   feedback Subscribe to our rss newsfeed