Overview
SHA1 Hash: | 5113ab5981bf88cfe2e734a3557b04fb339a4fe2 |
---|---|
Date: | 2008-09-03 18:52:48 |
User: | eric |
Comment: | Clarify some comments in name.c |
Timelines: | ancestors | descendants | both | eric-tagview-rework | trunk |
Other Links: | files | ZIP archive | manifest |
Tags And Properties
- branch=trunk inherited from [a28c83647d]
- sym-eric-tagview-rework inherited from [3984b1b2c1]
- sym-trunk inherited from [a28c83647d]
Changes
[hide diffs]Modified src/name.c from [8550ff74c5] to [68dd0b644f].
@@ -99,13 +99,13 @@ } return rc; } /* -** This routine takes a name which might be a symbolic tag and -** attempts to produce a UUID. The UUID (if any) is returned in the -** blob pointed to by the second argument. +** This routine takes a name which might be a tag and attempts to +** produce a UUID. The UUID (if any) is returned in the blob pointed +** to by the second argument. ** ** Return as follows: ** 0 Name is not a tag ** 1 A single UUID was found ** 2 More than one UUID was found, so this is presumably a @@ -134,10 +134,15 @@ db_column_blob(&q, 0, pUuid); } db_finalize(&q); return count; } + +/* +** This routine takes a name which might be a symbolic tag and +** attempts to produce a UUID. See tag_to_uuid. +*/ int sym_tag_to_uuid(const char *pName, Blob *pUuid){ return tag_to_uuid(pName,pUuid,"sym-"); } /*