AppleOpenSource/WebKit2-7609.3.5.1.3/Shared/API/glib/WebKitUserMessage.cpp
/**
 * webkit_user_message_new_with_fd_list:
 * @name: the message name
 * @parameters: (nullable): the message parameters as a #GVariant
 * @fd_list: (nullable): the message file descriptors
 *
 * Create a new #WebKitUserMessage including also a list of UNIX file descriptors to be sent.
 *
 * Returns: the newly created #WebKitUserMessage object.
 *
 * Since: 2.28
 */


Create a new #WebKitUserMessage including also a list of UNIX file descriptors to be sent.

the newly created #WebKitUserMessage object.


Create a new #WebKitUserMessage including also a list of UNIX file descriptors to be sent . the newly created #WebKitUserMessage object .
WebKitUserMessage* webkit_user_message_new_with_fd_list(const char* name, GVariant* parameters, GUnixFDList* fdList)
{
    g_return_val_if_fail(name, nullptr);
    g_return_val_if_fail(!fdList || G_IS_UNIX_FD_LIST(fdList), nullptr);
    return WEBKIT_USER_MESSAGE(g_object_new(WEBKIT_TYPE_USER_MESSAGE, "name", name, "parameters", parameters, "fd-list", fdList, nullptr));
}
WebKitUserMessage * webkit_user_message_new_with_fd_list ( const char * name , GVariant * parameters , GUnixFDList * fdList ) { g_return_val_if_fail ( name , nullptr ) ; g_return_val_if_fail ( ! fdList || G_IS_UNIX_FD_LIST ( fdList ) , nullptr ) ; return WEBKIT_USER_MESSAGE ( g_object_new ( WEBKIT_TYPE_USER_MESSAGE , " " , name , " " , parameters , " " , fdList , nullptr ) ) ; }
webkit_user_message_new_with_fd_list:
 @name: the message name
 @parameters: (nullable): the message parameters as a #GVariant
 @fd_list: (nullable): the message file descriptors
webkit_user_message_new_with_fd_list : @name : the message name @parameters : ( nullable ) : the message parameters as a #GVariant @fd_list : ( nullable ) : the message file descriptors