MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / getvisfun

Function getvisfun

extern/editline/src/vis.c:320–328  ·  view source on GitHub ↗

* Return the appropriate encoding function depending on the flags given. */

Source from the content-addressed store, hash-verified

318 * Return the appropriate encoding function depending on the flags given.
319 */
320static visfun_t
321getvisfun(int flags)
322{
323 if (flags & VIS_HTTPSTYLE)
324 return do_hvis;
325 if (flags & VIS_MIMESTYLE)
326 return do_mvis;
327 return do_svis;
328}
329
330/*
331 * Expand list of extra characters to not visually encode.

Callers 1

istrsenvisxFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected