extern struct diagnostic* bp_diagnostic_new

(struct BP_CONNECTION* conn,
  int code,
  char* language,
  char* fmt,
  ...)

Allocates a diagnostic structure.

Documentation

Allocates a diagnostic structure.

Use bp_diagnostic_destroy to deallocate the structure returned.

Parameters:
conn - A pointer to the connection structure, or NULL.
code - The numeric reason. Consult Section 8 of RFC 3080 for an (incomplete) list.
language - The localization language used by the message parameter.
fmt... - A textual message, expressed as a format string and arguments, corresponding to the code parameter.
Returns:
The diagnostic structure that is allocated, or NULL.

Home Alphabetic index



This page was generated with the help of DOC++.