NetSurf
Functions
url_protocol.h File Reference

ANT URL launching protocol (interface). More...

#include "utils/config.h"
#include "oslib/wimp.h"
Include dependency graph for url_protocol.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void ro_url_message_received (wimp_message *message)
 Handle a Message_InetSuiteOpenURL. More...
 
void ro_url_broadcast (const char *url)
 Broadcast an ANT URL message. More...
 
void ro_url_load (const char *url)
 Launch a program to handle an URL, using the ANT protocol Alias$URLOpen_ system. More...
 
void ro_url_bounce (wimp_message *message)
 Handle a bounced Message_InetSuiteOpenURL. More...
 

Detailed Description

ANT URL launching protocol (interface).

Definition in file url_protocol.h.

Function Documentation

◆ ro_url_bounce()

void ro_url_bounce ( wimp_message *  message)

Handle a bounced Message_InetSuiteOpenURL.

Definition at line 224 of file url_protocol.c.

References ro_uri_launch().

Referenced by ro_gui_user_message().

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

◆ ro_url_broadcast()

void ro_url_broadcast ( const char *  url)

Broadcast an ANT URL message.

Definition at line 151 of file url_protocol.c.

References NSLOG, ro_uri_launch(), and ro_warn_user().

Referenced by gui_launch_url().

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

◆ ro_url_load()

void ro_url_load ( const char *  url)

Launch a program to handle an URL, using the ANT protocol Alias$URLOpen_ system.

Definition at line 183 of file url_protocol.c.

References NSLOG, and ro_warn_user().

Referenced by ro_uri_bounce().

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

◆ ro_url_message_received()

void ro_url_message_received ( wimp_message *  message)

Handle a Message_InetSuiteOpenURL.

Definition at line 52 of file url_protocol.c.

References browser_window_create(), BW_CREATE_HISTORY, fetch_can_fetch(), messages_get_errorcode(), NSERROR_OK, NSLOG, nsurl_create(), nsurl_unref(), ro_warn_user(), and strndup().

Referenced by ro_gui_user_message().

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