"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/handy.h" between
burp-2.3.14.tar.bz2 and burp-2.3.20.tar.bz2

About: Burp is a backup and restore program using librsync and also VSS (for Windows clients). Latest version.

handy.h  (burp-2.3.14.tar.bz2):handy.h  (burp-2.3.20.tar.bz2)
skipping to change at line 12 skipping to change at line 12
#define HANDY_H #define HANDY_H
#include "prepend.h" #include "prepend.h"
#include <openssl/evp.h> #include <openssl/evp.h>
#include <openssl/md5.h> #include <openssl/md5.h>
#include <zlib.h> #include <zlib.h>
#include "bfile.h" #include "bfile.h"
#undef ENABLE_KEEP_READALL_CAPS_SUPPORT
#if defined(HAVE_SYS_PRCTL_H) && defined(HAVE_SYS_CAPABILITY_H) && \
defined(HAVE_PRCTL) && defined(HAVE_SETREUID) && defined(HAVE_LIBCAP)
# include <sys/prctl.h>
# include <sys/capability.h>
# if defined(PR_SET_KEEPCAPS)
# define ENABLE_KEEP_READALL_CAPS_SUPPORT
# endif
#endif
#define min(a,b) \ #define min(a,b) \
({ __typeof__ (a) _a = (a); \ ({ __typeof__ (a) _a = (a); \
__typeof__ (b) _b = (b); \ __typeof__ (b) _b = (b); \
_a < _b ? _a : _b; }) _a < _b ? _a : _b; })
extern int set_non_blocking(int fd); extern int set_non_blocking(int fd);
extern int set_blocking(int fd); extern int set_blocking(int fd);
extern char *get_tmp_filename(const char *basis); extern char *get_tmp_filename(const char *basis);
extern void add_fd_to_sets(int fd, extern void add_fd_to_sets(int fd,
fd_set *read_set, fd_set *write_set, fd_set *err_set, int *max_fd); fd_set *read_set, fd_set *write_set, fd_set *err_set, int *max_fd);
extern int set_peer_env_vars(struct sockaddr_storage *addr); extern int set_peer_env_vars(struct sockaddr_storage *addr);
extern int set_keepalive(int fd, int value); extern int set_keepalive(int fd, int value);
extern int init_client_socket(const char *host, const char *port); extern int init_client_socket(const char *host, const char *port);
extern void reuseaddr(int fd); extern void reuseaddr(int fd);
extern int chuser_and_or_chgrp(const char *user, const char *group); extern int chuser_and_or_chgrp(const char *user, const char *group, int readall) ;
extern int dpth_protocol1_is_compressed(int compressed, const char *datapath); extern int dpth_protocol1_is_compressed(int compressed, const char *datapath);
#ifndef HAVE_WIN32 #ifndef HAVE_WIN32
extern void setup_signal(int sig, void handler(int sig)); extern void setup_signal(int sig, void handler(int sig));
#endif #endif
extern long version_to_long(const char *version); extern long version_to_long(const char *version);
/* These receive_a_file() and send_a_file() functions are for use by extra_comms /* These receive_a_file() and send_a_file() functions are for use by extra_comms
and the CA stuff, rather than backups/restores. */ and the CA stuff, rather than backups/restores. */
extern int receive_a_file(struct asfd *asfd, extern int receive_a_file(struct asfd *asfd,
 End of changes. 2 change blocks. 
1 lines changed or deleted 11 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)