Revision 23882,
598 bytes
checked in by broder, 15 years ago
(diff) |
In moira:
* New upstream release
* Build and install libmoira as a shared library. (Trac: #70)
* Drop most of the krb4 patch - it's been incorporated upstream.
* Install the Moira development headers by patching the relevant
Makefiles, instead of in the debian/rules file.
|
Rev | Line | |
---|
[23095] | 1 | #define log_DEBUG 0 |
---|
| 2 | #define log_INFO 1 |
---|
| 3 | #define log_WARNING 2 |
---|
| 4 | #define log_ERROR 3 |
---|
| 5 | |
---|
| 6 | #define SERVICE_NAME "moira_update" |
---|
| 7 | /* For unknown reasons, we're running des_pcbc_encrypt in DEcrypt mode, |
---|
| 8 | not ENcrypt, so we need to guarantee that the block size is a multiple |
---|
| 9 | of 8 to prevent the data from being zero-padded. */ |
---|
| 10 | #define MR_BUFSIZ 8192 |
---|
| 11 | #define UPDATE_BUFSIZ ((MR_BUFSIZ + 7) & ~7) |
---|
| 12 | |
---|
| 13 | int mr_send_file(int conn, char *pathname, char *target_path, int encrypt); |
---|
| 14 | int mr_send_auth(int conn, char *hostname); |
---|
| 15 | int mr_execute(int conn, char *path); |
---|
| 16 | void mr_send_quit(int conn); |
---|
| 17 | |
---|
| 18 | extern char *whoami; |
---|
Note: See
TracBrowser
for help on using the repository browser.