libfossil
fsl_confirm_response Struct Reference

A response for use with the fsl_confirmer API. More...

#include "util.h"

Collaboration diagram for fsl_confirm_response:

Data Fields

uint16_t multipleChoice
 If this->response is FSL_CRESPONSE_MULTI then this must be set to the index of the client's multiple-choice answer.
fsl_confirm_response_e response
 Client response to the current fsl_confirmer question.

Detailed Description

A response for use with the fsl_confirmer API.

It is intended to encapsulate, with a great deal of abstraction, answers to typical questions which the library may need to interactively query a user for. e.g. confirmation about whether to overwrite a file or which one of 3 versions to select.

This type will be extended as the library develops new requirements for interactive use.

Definition at line 6004 of file util.h.

Field Documentation

◆ multipleChoice

uint16_t fsl_confirm_response::multipleChoice

If this->response is FSL_CRESPONSE_MULTI then this must be set to the index of the client's multiple-choice answer.

Events which except this in their response:

  • FSL_CEVENT_MULTIPLE_VERSIONS

Definition at line 6017 of file util.h.

◆ response

fsl_confirm_response_e fsl_confirm_response::response

Client response to the current fsl_confirmer question.

Definition at line 6008 of file util.h.


The documentation for this struct was generated from the following file: