qa.h 294 B

12345678910111213141516171819202122
  1. #ifndef _QA_H_
  2. #define _QA_H_
  3. #include <openssl/bio.h>
  4. struct qa_conf {
  5. enum sources {
  6. NONE, LOCAL, REMOTE
  7. } src_type;
  8. char *src;
  9. };
  10. extern BIO* bio_out;
  11. extern BIO* bio_err;
  12. int qa_init(const struct qa_conf* args);
  13. X509* get_local_cert(const char *src);
  14. #endif /* _QA_H_ */