forked from lastpass/lastpass-cli
-
Notifications
You must be signed in to change notification settings - Fork 1
/
xml.h
19 lines (16 loc) · 740 Bytes
/
xml.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef XML_H
#define XML_H
#include "session.h"
#include "cipher.h"
#include "list.h"
#include "blob.h"
struct session *xml_ok_session(const char *buf, unsigned const char key[KDF_HASH_LEN]);
char *xml_error_cause(const char *buf, const char *what);
unsigned long long xml_login_check(const char *buf, struct session *session);
int xml_parse_share_getinfo(const char *buf, struct list_head *users);
int xml_parse_share_getpubkey(const char *buf, struct share_user *user);
int xml_parse_pwchange(const char *buf, struct pwchange_info *info);
int xml_api_err(const char *buf);
int xml_parse_share_getpubkeys(const char *buf, struct list_head *user_list);
int xml_parse_share_get_limits(const char *buf, struct share_limit *limit);
#endif