options_func.template 326 B

123456789101112131415161718
  1. /**
  2. {{SComment}}
  3. * @return the object of struct MHD_{{hdr_marker}}OptionAndValue with the requested
  4. * values
  5. */
  6. static MHD_INLINE struct MHD_{{hdr_marker}}OptionAndValue
  7. {{SName}} ({{SFArguments}})
  8. {
  9. struct MHD_{{hdr_marker}}OptionAndValue opt_val;
  10. opt_val.opt = {{EName}};
  11. {{SFBody}}
  12. return opt_val;
  13. }