OSSP CVS Repository

ossp - Check-in [1934]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 1934
Date: 2002-Mar-01 23:02:40 (local)
2002-Mar-01 22:02:40 (UTC)
User:rse
Branch:
Comment: more comments
Tickets:
Inspections:
Files:
ossp-pkg/var/var.c      1.72 -> 1.73     7 inserted, 0 deleted

ossp-pkg/var/var.c 1.72 -> 1.73

--- var.c        2002/03/01 21:59:37     1.72
+++ var.c        2002/03/01 22:02:40     1.73
@@ -2096,6 +2096,7 @@
 **
 */
 
+/* create variable expansion context */
 var_rc_t 
 var_create(
     var_t **pvar)
@@ -2112,6 +2113,7 @@
     return VAR_OK;
 }
 
+/* destroy variable expansion context */
 var_rc_t 
 var_destroy(
     var_t *var)
@@ -2122,6 +2124,7 @@
     return VAR_OK;
 }
 
+/* configure variable expansion context */
 var_rc_t 
 var_config(
     var_t *var, 
@@ -2173,6 +2176,7 @@
     return VAR_OK;
 }
 
+/* perform unescape operation on a buffer */
 var_rc_t 
 var_unescape(
     var_t *var, 
@@ -2234,6 +2238,7 @@
     return VAR_OK;
 }
 
+/* perform expand operation on a buffer */
 var_rc_t 
 var_expand(
     var_t *var, 
@@ -2286,6 +2291,7 @@
     return VAR_RC(rc);
 }
 
+/* var_rc_t to string mapping table */
 static const char *var_errors[] = {
     "everything ok",                                           /* VAR_OK = 0 */
     "incomplete named character",                              /* VAR_ERR_INCOMPLETE_NAMED_CHARACTER */
@@ -2332,6 +2338,7 @@
     "invalid character in loop limits"                         /* VAR_ERR_INVALID_CHAR_IN_LOOP_LIMITS */
 };
 
+/* transslate a return code into its corresponding descriptive text */
 var_rc_t var_strerror(var_t *var, var_rc_t rc, char **str)
 {
     if (str == NULL)

CVSTrac 2.0.1