ewebkit2
1.11.0
Web engine based on WebKit2 for EFL
|
Describes the Ewk Form Submission Request API. More...
#include <Eina.h>
Go to the source code of this file.
Typedefs | |
typedef struct EwkObject | Ewk_Form_Submission_Request |
Functions | |
EAPI Eina_List * | ewk_form_submission_request_field_names_get (Ewk_Form_Submission_Request *request) |
EAPI const char * | ewk_form_submission_request_field_value_get (Ewk_Form_Submission_Request *request, const char *name) |
EAPI Eina_Bool | ewk_form_submission_request_submit (Ewk_Form_Submission_Request *request) |
Describes the Ewk Form Submission Request API.
typedef struct EwkObject Ewk_Form_Submission_Request |
Declare Ewk_Form_Submission_Request as Ewk_Object.
EAPI Eina_List* ewk_form_submission_request_field_names_get | ( | Ewk_Form_Submission_Request * | request) |
Returns the list of field names contained in the form associated to request.
request | the request object to query. |
NULL
in case of error. The items of the list are guaranteed to be stringshared so use eina_stringshare_add() instead of strdup() to copy them and free them using eina_stringshare_del().EAPI const char* ewk_form_submission_request_field_value_get | ( | Ewk_Form_Submission_Request * | request, |
const char * | name | ||
) |
Returns the value of specific field contained in the form associated to request.
request | the request object to query. |
name | name of the field to query the value for. |
NULL
in case of error. The string returned is guaranteed to be stringshared. You need to call eina_stringshare_del() on the returned value once you are done with it.EAPI Eina_Bool ewk_form_submission_request_submit | ( | Ewk_Form_Submission_Request * | request) |
Continues the form request submission.
If you don't call this function explicitly, the form request will be submitted upon request object destruction.
request | the request object to submit. |
EINA_TRUE
is if successful, EINA_FALSE
otherwise.