summaryrefslogtreecommitdiff
path: root/test/testuuid.c
diff options
context:
space:
mode:
authorDoug MacEachern <dougm@apache.org>2001-02-08 07:45:23 +0000
committerDoug MacEachern <dougm@apache.org>2001-02-08 07:45:23 +0000
commitbc1b73cb6002c158ead8d736f25eb70d5124ecda (patch)
tree136752321dd3e22c22463c9ab35a700ab0507729 /test/testuuid.c
parent2d3db4e26d42b1fd65bb65bc17f247b0c78a25f6 (diff)
downloadapr-bc1b73cb6002c158ead8d736f25eb70d5124ecda.tar.gz
renaming various functions for consistency sake
see: http://apr.apache.org/~dougm/apr_rename.pl PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61194 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testuuid.c')
-rw-r--r--test/testuuid.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/testuuid.c b/test/testuuid.c
index 6330f6c41..1d4c7e9d4 100644
--- a/test/testuuid.c
+++ b/test/testuuid.c
@@ -64,11 +64,11 @@ int main(int argc, char **argv)
char buf[APR_UUID_FORMATTED_LENGTH + 1];
int retcode = 0;
- apr_get_uuid(&uuid);
- apr_format_uuid(buf, &uuid);
+ apr_uuid_get(&uuid);
+ apr_uuid_format(buf, &uuid);
printf("UUID: %s\n", buf);
- apr_parse_uuid(&uuid2, buf);
+ apr_uuid_parse(&uuid2, buf);
if (memcmp(&uuid, &uuid2, sizeof(uuid)) == 0)
printf("Parse appears to work.\n");
else {
@@ -76,15 +76,15 @@ int main(int argc, char **argv)
retcode = 1;
}
- apr_format_uuid(buf, &uuid2);
+ apr_uuid_format(buf, &uuid2);
printf("parsed/reformatted UUID: %s\n", buf);
/* generate two of them quickly */
- apr_get_uuid(&uuid);
- apr_get_uuid(&uuid2);
- apr_format_uuid(buf, &uuid);
+ apr_uuid_get(&uuid);
+ apr_uuid_get(&uuid2);
+ apr_uuid_format(buf, &uuid);
printf("UUID 1: %s\n", buf);
- apr_format_uuid(buf, &uuid2);
+ apr_uuid_format(buf, &uuid2);
printf("UUID 2: %s\n", buf);
return retcode;