Branch: Tag:

2003-04-07

2003-04-07 17:28:56 by Martin Nilsson <mani@lysator.liu.se>

Use @expr where more approrpiate than @tt

Rev: lib/modules/ADT.pmod/Table.pmod:1.26
Rev: lib/modules/Crypto.pmod/aes.pike:1.2
Rev: lib/modules/Getopt.pmod:1.27
Rev: lib/modules/Parser.pmod/module.pmod:1.18
Rev: lib/modules/Protocols.pmod/DNS.pmod:1.72
Rev: lib/modules/Protocols.pmod/HTTP.pmod/Query.pike:1.56
Rev: lib/modules/Protocols.pmod/HTTP.pmod/Session.pike:1.11
Rev: lib/modules/Protocols.pmod/HTTP.pmod/module.pmod:1.37
Rev: lib/modules/Protocols.pmod/LDAP.pmod/client.pike:1.48
Rev: lib/modules/Protocols.pmod/Line.pmod:1.22
Rev: lib/modules/Protocols.pmod/SMTP.pmod:1.22
Rev: lib/modules/Sql.pmod/Sql.pike:1.64
Rev: lib/modules/Stdio.pmod/module.pmod:1.169
Rev: lib/modules/String.pmod/module.pmod:1.14
Rev: lib/modules/Tools.pmod/AutoDoc.pmod/ProcessXML.pmod:1.54
Rev: src/builtin.cmod:1.131
Rev: src/builtin_functions.c:1.483
Rev: src/cpp.c:1.117
Rev: src/dynamic_load.c:1.69
Rev: src/error.c:1.106
Rev: src/modules/DVB/dvb.c:1.19
Rev: src/modules/Gdbm/gdbmmod.c:1.24
Rev: src/modules/Gettext/gettext.c:1.15
Rev: src/modules/Gmp/mpf.cmod:1.25
Rev: src/modules/MIME/mime.c:1.37
Rev: src/modules/Mird/module.pmod.in:1.12
Rev: src/modules/Msql/msqlmod.c:1.25
Rev: src/modules/Mysql/mysql.c:1.71
Rev: src/modules/Mysql/result.c:1.29
Rev: src/modules/Yp/module.pmod.in:1.19
Rev: src/modules/_Charset/module.pmod.in:1.31
Rev: src/modules/_Crypto/arcfour.c:1.21
Rev: src/modules/_Crypto/cast.c:1.16
Rev: src/modules/_Crypto/des.c:1.28
Rev: src/modules/_Crypto/idea.c:1.22
Rev: src/modules/_Crypto/invert.c:1.17
Rev: src/modules/_Crypto/md2.c:1.17
Rev: src/modules/_Crypto/md4.c:1.6
Rev: src/modules/_Crypto/pipe.c:1.26
Rev: src/modules/_Crypto/rijndael.c:1.11
Rev: src/modules/_Crypto/sha.c:1.25
Rev: src/modules/_Ffmpeg/ffmpeg.c:1.17
Rev: src/modules/_math/math.c:1.60
Rev: src/modules/files/efuns.c:1.126
Rev: src/modules/files/file.c:1.267
Rev: src/modules/files/stat.c:1.27
Rev: src/modules/files/udp.c:1.43
Rev: src/modules/system/passwords.c:1.41
Rev: src/modules/system/system.c:1.142
Rev: src/operators.c:1.174
Rev: src/pike_search.c:1.15
Rev: src/post_modules/_ADT/circular_list.cmod:1.5
Rev: src/post_modules/_ADT/sequence.cmod:1.6
Rev: src/program.c:1.498
Rev: src/security.c:1.42
Rev: src/signal_handler.c:1.262

2:      // LDAP client protocol implementation for Pike.   // - // $Id: client.pike,v 1.47 2003/02/07 01:00:38 nilsson Exp $ + // $Id: client.pike,v 1.48 2003/04/07 17:12:02 nilsson Exp $   //   // Honza Petrous, hop@unibase.cz   //
350:    //!    //! @param url    //! LDAP server URL in form -  //! @tt{"ldap://hostname/basedn?attrlist?scope?ext"@} +  //! @expr{"ldap://hostname/basedn?attrlist?scope?ext"@}    //!    //! @param context    //! TLS context of connection
360:    void create(string|void url, object|void context)    {    -  info = ([ "code_revision" : ("$Revision: 1.47 $"/" ")[1] ]); +  info = ([ "code_revision" : ("$Revision: 1.48 $"/" ")[1] ]);       if(!url || !sizeof(url))    url = LDAP_DEFAULT_URL;
470:    //! by connection to the LDAP server.    //!    //! @param version -  //! Only @tt{2@} or @tt{3@} can be entered. +  //! Only @expr{2@} or @expr{3@} can be entered.    //!    //! @returns -  //! Returns @tt{1@} on success, @tt{0@} otherwise. +  //! Returns @expr{1@} on success, @expr{0@} otherwise.    //!    //! @note    //! Only simple authentication type is implemented. So be warned
558:    //! The distinguished name of deleted entry.    //!    //! @returns -  //! Returns @tt{1@} on success, @tt{0@} otherwise. +  //! Returns @expr{1@} on success, @expr{0@} otherwise.    //!    //! @note    //! The API change: the returning code was changed in Pike 7.3+
617:    //! The mapping of compared attributes and theirs values.    //!    //! @returns -  //! Returns @tt{1@} on success, @tt{0@} otherwise. +  //! Returns @expr{1@} on success, @expr{0@} otherwise.    //!    //! @note    //! The API change: the returning code was changed in Pike 7.3+
691:    //! of the entry being added.    //!    //! @returns -  //! Returns @tt{1@} on success, @tt{0@} otherwise. +  //! Returns @expr{1@} on success, @expr{0@} otherwise.    //!    //! @note    //! The API change: the returning code was changed in Pike 7.3+
938:    //! the attribute values.    //!    //! @returns -  //! Returns object @[LDAP.client.result] on success, @tt{0@} +  //! Returns object @[LDAP.client.result] on success, @expr{0@}    //! otherwise.    //!    //! @note
1190:    //! which becomes the immediate superior of the existing entry.    //!    //! @returns -  //! Returns @tt{1@} on success, @tt{0@} otherwise. +  //! Returns @expr{1@} on success, @expr{0@} otherwise.    //!    //! @note    //! The API change: the returning code was changed in Pike 7.3+
1250:    //! exists, and is ignored if the attribute does not exist    //!    //! @returns -  //! Returns @tt{1@} on uccess, @tt{0@} otherwise. +  //! Returns @expr{1@} on uccess, @expr{0@} otherwise.    //!    //! @note    //! The API change: the returning code was changed in Pike 7.3+
1293:    //! Gets referrals.    //!    //! @returns -  //! Returns array of referrals or @tt{0@}. +  //! Returns array of referrals or @expr{0@}.    array|int get_referrals() {    if(last_rv->referrals)    return last_rv->referrals;