aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDavid M. Syzdek <david@syzdek.net>2019-11-30 18:54:15 -0900
committerDavid M. Syzdek <david@syzdek.net>2019-11-30 18:54:15 -0900
commit20920591aa84750e77761c5821d4e9bde71e1bc9 (patch)
tree7ea84f909e11cc48c02dcfb999189d7332bf899d
parentf73ae541c4c4381108fa6043115bcf6d0edfbfaa (diff)
downloadldap-utils-20920591aa84750e77761c5821d4e9bde71e1bc9.tar.gz
ldap-utils-20920591aa84750e77761c5821d4e9bde71e1bc9.tar.bz2
ldap-utils-20920591aa84750e77761c5821d4e9bde71e1bc9.tar.xz
ldap-utils-20920591aa84750e77761c5821d4e9bde71e1bc9.zip
libldapschema: resolving doxygen warnings in lformat.c
-rw-r--r--lib/libldapschema/lformat.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/libldapschema/lformat.c b/lib/libldapschema/lformat.c
index 37a41ef..6a28645 100644
--- a/lib/libldapschema/lformat.c
+++ b/lib/libldapschema/lformat.c
@@ -83,15 +83,16 @@
83///////////////// 83/////////////////
84#pragma mark - Functions 84#pragma mark - Functions
85 85
86#define APPEND( c ) { last = c; if (strpos<size) str[strpos] = last; strpos++; }
87#define INDENT() { if ((!IS_SPACE(last))&&((strpos))) { APPEND('\n'); for(x=0; (x<(indent*3));x++) APPEND(' '); bol=strpos; }; }
86/// initializes LDAP schema 88/// initializes LDAP schema
87/// @param[out] str Numeric error code 89/// @param[out] str output buffer to store formatted definition
88/// @param[in] size Numeric error code 90/// @param[in] size size of output buffer
89/// @param[in] def Numeric error code 91/// @param[in] def unformatted definition string.
92/// @param[in] width column width for line wrapping
90/// 93///
91/// @return Returns a string representation of the error code. 94/// @return Returns a string representation of the error code.
92/// @see ldapschema_free, ldapschema_initialize, ldapschema_errno 95/// @see ldapschema_free, ldapschema_initialize, ldapschema_errno
93#define APPEND( c ) { last = c; if (strpos<size) str[strpos] = last; strpos++; }
94#define INDENT() { if ((!IS_SPACE(last))&&((strpos))) { APPEND('\n'); for(x=0; (x<(indent*3));x++) APPEND(' '); bol=strpos; }; }
95int ldapschema_fmt_definition( char * restrict str, size_t size, const char * restrict def, size_t width ) 96int ldapschema_fmt_definition( char * restrict str, size_t size, const char * restrict def, size_t width )
96{ 97{
97 size_t defpos; 98 size_t defpos;