Differences From:
File
src/name.c
part of check-in
[0e924820bf]
- Tidy up tagview code.
by
eric on
2008-08-24 20:16:43.
[view]
To:
File
src/name.c
part of check-in
[5113ab5981]
- Clarify some comments in name.c
by
eric on
2008-09-03 18:52:48.
Also file
src/name.c
part of check-in
[8745d0d579]
- Merge tagview branch into mainline
by
eric on
2008-09-06 13:29:29.
[view]
@@ -100,11 +100,11 @@
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
@@ -135,8 +135,13 @@
}
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-");
}