summaryrefslogtreecommitdiff
path: root/curvetun_mgmt_servers.h
blob: 9c5cd848483d51d2f71011ffa410e7bfdd60f351 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef CT_SERVMGMT_H
#define CT_SERVMGMT_H

#include <stdio.h>
#include "curve.h"

extern void parse_userfile_and_generate_serv_store_or_die(char *homedir);
extern void dump_serv_store(void);
extern void get_serv_store_entry_by_alias(char *alias, size_t len,
					  char **host, char **port, int *udp);
extern struct curve25519_proto *get_serv_store_entry_proto_inf(void);
extern unsigned char *get_serv_store_entry_auth_token(void);
extern void destroy_serv_store(void);

#endif /* CT_SERVMGMT_H */
ssdiff
authorDan Carpenter <dan.carpenter@oracle.com>2016-10-13 11:54:31 +0300
committerEric Anholt <eric@anholt.net>2016-10-17 10:00:11 -0700
commitb2cdeb19f16ad984eb5bb9193f793d05a8101511 (patch)
treecbad29c7d537e3c72755377460a7b5222f7a35d3 /Documentation/i2c
parent1001354ca34179f3db924eb66672442a173147dc (diff)
drm/vc4: Fix a couple error codes in vc4_cl_lookup_bos()
If the allocation fails the current code returns success. If copy_from_user() fails it returns the number of bytes remaining instead of -EFAULT. Fixes: d5b1a78a772f ("drm/vc4: Add support for drawing 3D frames.") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'Documentation/i2c')