NetSurf
Functions
useragent.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

const char * user_agent_string (void)
 Retrieve the core user agent for this release. More...
 
void free_user_agent_string (void)
 Free any memory allocated for the user_agent_string. More...
 

Function Documentation

◆ free_user_agent_string()

void free_user_agent_string ( void  )

Free any memory allocated for the user_agent_string.

After calling this, the value returned by user_agent_string() is to be considered invalid.

Definition at line 88 of file useragent.c.

References core_user_agent_string.

Referenced by netsurf_exit().

Here is the caller graph for this function:

◆ user_agent_string()

const char * user_agent_string ( void  )

Retrieve the core user agent for this release.

The string returned can be relied upon to exist for the duration of the execution of the program. There is no need to copy it.

Definition at line 79 of file useragent.c.

References core_user_agent_string, and user_agent_build_string().

Referenced by atari_about_show(), fetch_curl_register(), and nsbeos_about().

Here is the call graph for this function:
Here is the caller graph for this function: