Whamcloud - gitweb
libe2p: add a thread-safe variant of e2p_feature2string
authorTheodore Ts'o <tytso@mit.edu>
Fri, 20 Mar 2020 21:57:38 +0000 (17:57 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 20 Mar 2020 21:57:38 +0000 (17:57 -0400)
commit96d5cc74ec9fb1e5feb4bea0871c6dc2010abe8d
treea09b6cbc3122548e8202254310cefeb859df51fd
parent23c6ef3de362aa291a15cc21a8a82a534a785fde
libe2p: add a thread-safe variant of e2p_feature2string

This commit adds the function e2p_feature_to_string() which allows the
caller to pass in a preallocated buffer.

Google-Bug-Id: 16978603
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/e2p/e2p.h
lib/e2p/feature.c