projects
/
silc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
025071b
)
added more robodoc entries (for system dependant functions)
author
Giovanni Giacobbi
<johnny@silcnet.org>
Mon, 8 Apr 2002 21:31:46 +0000
(21:31 +0000)
committer
Giovanni Giacobbi
<johnny@silcnet.org>
Mon, 8 Apr 2002 21:31:46 +0000
(21:31 +0000)
lib/silcutil/silcutil.h
patch
|
blob
|
history
diff --git
a/lib/silcutil/silcutil.h
b/lib/silcutil/silcutil.h
index 1618b4ff1893f6ab43596f404e6c38cc57557a87..d1374d902a5f2b0ee4d400288493d21784bc1dbf 100644
(file)
--- a/
lib/silcutil/silcutil.h
+++ b/
lib/silcutil/silcutil.h
@@
-433,13
+433,100
@@
SilcUInt32 silc_version_to_num(const char *version);
***/
char *silc_get_input(const char *prompt, bool echo_off);
***/
char *silc_get_input(const char *prompt, bool echo_off);
-/*
XXX -
System dependant prototypes */
+/* System dependant prototypes */
+/****f* silcutil/SilcUtilAPI/silc_gettimeofday
+ *
+ * SYNOPSIS
+ *
+ * int silc_gettimeofday(struct timeval *p);
+ *
+ * DESCRIPTION
+ *
+ * Return current time to struct timeval.
+ *
+ * This function is system dependant.
+ *
+ ***/
int silc_gettimeofday(struct timeval *p);
int silc_gettimeofday(struct timeval *p);
+
+/****f* silcutil/SilcUtilAPI/silc_string_regexify
+ *
+ * SYNOPSIS
+ *
+ * char *silc_string_regexify(const char *string);
+ *
+ * DESCRIPTION
+ *
+ * Inspects the `string' for wildcards and returns regex string that can
+ * be used by the GNU regex library. A comma (`,') in the `string' means
+ * that the string is list.
+ *
+ * This function is system dependant.
+ *
+ ***/
char *silc_string_regexify(const char *string);
char *silc_string_regexify(const char *string);
+
+/****f* silcutil/SilcUtilAPI/silc_string_regex_match
+ *
+ * SYNOPSIS
+ *
+ * int silc_string_regex_match(const char *regex, const char *string);
+ *
+ * DESCRIPTION
+ *
+ * Matches the two strings and returns TRUE if the strings match.
+ *
+ * This function is system dependant.
+ *
+ ***/
int silc_string_regex_match(const char *regex, const char *string);
int silc_string_regex_match(const char *regex, const char *string);
+
+/****f* silcutil/SilcUtilAPI/silc_string_match
+ *
+ * SYNOPSIS
+ *
+ * int silc_string_match(const char *string1, const char *string2);
+ *
+ * DESCRIPTION
+ *
+ * Do regex match to the two strings `string1' and `string2'. If the
+ * `string2' matches the `string1' this returns TRUE.
+ *
+ * This function is system dependant.
+ *
+ ***/
int silc_string_match(const char *string1, const char *string2);
int silc_string_match(const char *string1, const char *string2);
+
+/****f* silcutil/SilcUtilAPI/silc_get_username
+ *
+ * SYNOPSIS
+ *
+ * char *silc_get_username();
+ *
+ * DESCRIPTION
+ *
+ * Returns the username of the user. If the global variable LOGNAME
+ * does not exists we will get the name from the passwd file.
+ *
+ * This function is system dependant.
+ *
+ ***/
char *silc_get_username();
char *silc_get_username();
+
+/****f* silcutil/SilcUtilAPI/silc_get_real_name
+ *
+ * SYNOPSIS
+ *
+ * char *silc_get_real_name();
+ *
+ * DESCRIPTION
+ *
+ * Returns the real name of ther user from the passwd file.
+ *
+ * This function is system dependant.
+ *
+ ***/
char *silc_get_real_name();
#endif /* !SILCUTIL_H */
char *silc_get_real_name();
#endif /* !SILCUTIL_H */