diff options
author | Mark Salyzyn <salyzyn@google.com> | 2016-11-07 22:46:39 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-11-07 22:46:39 +0000 |
commit | 494a3945451a40b17df2947d0fb1618a1b9248bc (patch) | |
tree | 8d6ac217139d7afe32ecdd8cc58ff3762a4ed2e1 /include | |
parent | 9b1d1cb92398389f81196c430a7423c3aabffc8e (diff) | |
parent | 530711b39e0447b0ce6824de936cedc294634e0e (diff) | |
download | system_core-494a3945451a40b17df2947d0fb1618a1b9248bc.tar.gz system_core-494a3945451a40b17df2947d0fb1618a1b9248bc.tar.bz2 system_core-494a3945451a40b17df2947d0fb1618a1b9248bc.zip |
liblog: add android_lookupEventFormat_len
am: 530711b39e
Change-Id: I62a33b249df6afdc4405a89b3f60a51a2897f98e
Diffstat (limited to 'include')
-rw-r--r-- | include/log/event_tag_map.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/log/event_tag_map.h b/include/log/event_tag_map.h index 69774bacd..22e62ec98 100644 --- a/include/log/event_tag_map.h +++ b/include/log/event_tag_map.h @@ -48,7 +48,15 @@ const char* android_lookupEventTag(const EventTagMap* map, unsigned int tag) * Look up a tag by index. Returns the tag string & string length, or NULL if * not found. Returned string is not guaranteed to be nul terminated. */ -const char* android_lookupEventTag_len(const EventTagMap* map, size_t* len, unsigned int tag); +const char* android_lookupEventTag_len(const EventTagMap* map, + size_t* len, unsigned int tag); + +/* + * Look up a format by index. Returns the format string & string length, + * or NULL if not found. Returned string is not guaranteed to be nul terminated. + */ +const char* android_lookupEventFormat_len(const EventTagMap* map, + size_t* len, unsigned int tag); #ifdef __cplusplus } |