浏览代码

- make qop parser available to the outside world

Jan Janak 19 年之前
父节点
当前提交
62b58347e7
共有 2 个文件被更改,包括 6 次插入1 次删除
  1. 1 1
      parser/digest/digest_parser.c
  2. 5 0
      parser/digest/digest_parser.h

+ 1 - 1
parser/digest/digest_parser.c

@@ -220,7 +220,7 @@ static inline int parse_digest_param(str* _s, dig_cred_t* _c)
 /*
  * Parse qop parameter body
  */
-static inline void parse_qop(struct qp* _q)
+void parse_qop(struct qp* _q)
 {
 	str s;
 

+ 5 - 0
parser/digest/digest_parser.h

@@ -129,4 +129,9 @@ void init_dig_cred(dig_cred_t* _c);
 int parse_digest_cred(str* _s, dig_cred_t* _c);
 
 
+/*
+ * Parse qop string
+ */
+void parse_qop(struct qp* _q);
+
 #endif /* DIGEST_PARSER_H */