MCPcopy Create free account
hub / github.com/Tencent/phxrpc / GetClientEtcFileName

Method GetClientEtcFileName

codegen/name_render.cpp:137–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137const char *NameRender::GetClientEtcFileName(const char *name, char *dest, int size) {
138 snprintf(dest, size, "%s%s_client.conf", prefix_, name);
139
140 ToLower(dest);
141
142 return dest;
143}
144
145const char *NameRender::GetServerConfigClassName(const char *name, char *dest, int size) {
146 snprintf(dest, size, "%s%c%sServerConfig", prefix_, toupper(*name), name + 1);

Callers 2

GenerateClientEtcMethod · 0.80
Proto2ClientFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected