16#include "ws_symbol_export.h"
22#define FIELDURLS_FILE_NAME "fieldurls"
59WS_DLL_PUBLIC
char *
field_url_expand(
const char *url,
const char *fieldname,
const char *fieldvalue);
88WS_DLL_PUBLIC
char *
field_url_for(
const char *fieldname,
const char *protoname,
const char *fieldvalue);
WS_DLL_PUBLIC char * field_url_for(const char *fieldname, const char *protoname, const char *fieldvalue)
Get the user-defined URL for a field, with placeholders expanded.
Definition field_urls.c:635
WS_DLL_PUBLIC bool field_url_needs_value(const char *fieldname, const char *protoname)
Check whether the value of a field is needed to get its URL.
Definition field_urls.c:616
WS_DLL_PUBLIC char * field_url_expand(const char *url, const char *fieldname, const char *fieldvalue)
Replace the placeholders in a URL.
Definition field_urls.c:589