diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-08-23 10:17:57 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-08-23 12:47:32 -0700 |
commit | 63b65a20706def951dd25e531949b7bc556419eb (patch) | |
tree | af20aa218a5a96f86366767fdbe12aef8c24419e /doc/xtrans.xml | |
parent | fd90a4e00321b22c96565cfa354b8b0efa376979 (diff) |
Add const qualifiers to TRANS(CreateListener) port args
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'doc/xtrans.xml')
-rw-r--r-- | doc/xtrans.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/xtrans.xml b/doc/xtrans.xml index 5960dfa..2e16e79 100644 --- a/doc/xtrans.xml +++ b/doc/xtrans.xml @@ -226,8 +226,8 @@ typedef struct _Xtransport { int (*CreateListener)( XtransConnInfo, /* connection */ - char *, /* port */ - int /* flags */ + const char *, /* port */ + int /* flags */ ); int (*ResetListener)( @@ -480,7 +480,7 @@ Based on current usage, the complimentary function <funcprototype> <funcdef>int <function>TRANS(CreateListener)</function></funcdef> <paramdef>XtransConnInfo <parameter>connection</parameter></paramdef> - <paramdef>char *<parameter>port</parameter></paramdef> + <paramdef>const char *<parameter>port</parameter></paramdef> <paramdef>int <parameter>flags</parameter></paramdef> </funcprototype> </funcsynopsis> @@ -935,7 +935,7 @@ different transport type is added, or a transport dependent option is defined. <funcprototype> <funcdef>int <function>CreateListener</function></funcdef> <paramdef>struct _Xtransport *<parameter>thistrans</parameter></paramdef> - <paramdef>char <parameter>*port</parameter></paramdef> + <paramdef>const char <parameter>*port</parameter></paramdef> <paramdef>int <parameter>flags</parameter></paramdef> </funcprototype> </funcsynopsis> |