Update README.md
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* File: DBusSafWorkers.cpp
|
* File: DBusSafWorkers.cpp
|
||||||
* Author: SET - nmset@netcourrier.com
|
* Author: SET - nmset@yandex.com
|
||||||
* License : GPL v2
|
* License : GPL v2
|
||||||
* Copyright SET - © 2017
|
* Copyright SET - © 2017
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* File: DBusSafWorkers.h
|
* File: DBusSafWorkers.h
|
||||||
* Author: SET - nmset@netcourrier.com
|
* Author: SET - nmset@yandex.com
|
||||||
* License : GPL v2
|
* License : GPL v2
|
||||||
* Copyright SET - © 2017
|
* Copyright SET - © 2017
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ It uses gloox as XMPP library, and messages are sent to the application via
|
|||||||
DBus. It runs on the system bus, and hence, must be run as root.
|
DBus. It runs on the system bus, and hence, must be run as root.
|
||||||
|
|
||||||
USAGE
|
USAGE
|
||||||
|
|
||||||
It must be started with two mandatory parameters :
|
It must be started with two mandatory parameters :
|
||||||
|
|
||||||
|
|
||||||
@@ -31,6 +32,7 @@ Optional parameters may be used :
|
|||||||
|
|
||||||
|
|
||||||
DBUS CONSIDERATIONS
|
DBUS CONSIDERATIONS
|
||||||
|
|
||||||
A policy file must be created in /etc/dbus-1/system.d/ , because the
|
A policy file must be created in /etc/dbus-1/system.d/ , because the
|
||||||
application requests the system bus. A sample file is in the release package.
|
application requests the system bus. A sample file is in the release package.
|
||||||
If --bustag is used, another policy file must be created to reflect this
|
If --bustag is used, another policy file must be created to reflect this
|
||||||
@@ -52,6 +54,7 @@ If a bustag parameter is used, the created DBus destination is
|
|||||||
application simultaneously, each instance having a different configuration file.
|
application simultaneously, each instance having a different configuration file.
|
||||||
|
|
||||||
XMPP NOTE
|
XMPP NOTE
|
||||||
|
|
||||||
If the same sender's XMPP account is used in multiple instances, or on multiple
|
If the same sender's XMPP account is used in multiple instances, or on multiple
|
||||||
hosts, a different resource parameter MUST be used for each instance.
|
hosts, a different resource parameter MUST be used for each instance.
|
||||||
|
|
||||||
@@ -72,5 +75,6 @@ FILES IN THE RELEASE ARCHIVE
|
|||||||
After installation, create a default /usr/local/etc/saf7/saf7-default.rc file with valid parameters.
|
After installation, create a default /usr/local/etc/saf7/saf7-default.rc file with valid parameters.
|
||||||
|
|
||||||
DISCLAIMER
|
DISCLAIMER
|
||||||
|
|
||||||
I don't claim the application is fit for any purpose.Programming is just my hobby.
|
I don't claim the application is fit for any purpose.Programming is just my hobby.
|
||||||
|
|
||||||
|
|||||||
2
SAF.cpp
2
SAF.cpp
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* File: SAF.cpp
|
* File: SAF.cpp
|
||||||
* Author: SET - nmset@netcourrier.com
|
* Author: SET - nmset@yandex.com
|
||||||
* License : GPL v2
|
* License : GPL v2
|
||||||
* Copyright SET - © 2017
|
* Copyright SET - © 2017
|
||||||
*
|
*
|
||||||
|
|||||||
2
SAF.h
2
SAF.h
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* File: SAF.h
|
* File: SAF.h
|
||||||
* Author: SET - nmset@netcourrier.com
|
* Author: SET - nmset@yandex.com
|
||||||
* License : GPL v2
|
* License : GPL v2
|
||||||
* Copyright SET - © 2017
|
* Copyright SET - © 2017
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Author: SET - nmset@netcourrier.com
|
* Author: SET - nmset@yandex.com
|
||||||
* License : GPL v2
|
* License : GPL v2
|
||||||
* Copyright SET - © 2017
|
* Copyright SET - © 2017
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* File: globals.h
|
* File: globals.h
|
||||||
* Author: SET - nmset@netcourrier.com
|
* Author: SET - nmset@yandex.com
|
||||||
* License : GPL v2
|
* License : GPL v2
|
||||||
* Copyright SET - © 2017
|
* Copyright SET - © 2017
|
||||||
*
|
*
|
||||||
@@ -16,7 +16,7 @@ using namespace std;
|
|||||||
#define _APPNAME_ "saf7" // Send and forget
|
#define _APPNAME_ "saf7" // Send and forget
|
||||||
#define _APP_DESCRIPTION_ "Send and forget an XMPP message"
|
#define _APP_DESCRIPTION_ "Send and forget an XMPP message"
|
||||||
#define _VERSION_ "4"
|
#define _VERSION_ "4"
|
||||||
#define _AUTHOR_ "SET, M.D., nmset@netcourrier.com"
|
#define _AUTHOR_ "SET, M.D., nmset@yandex.com"
|
||||||
#define _ABOUT_ string(_APPNAME_) + string(" - version ") + string(_VERSION_) \
|
#define _ABOUT_ string(_APPNAME_) + string(" - version ") + string(_VERSION_) \
|
||||||
+ string(" - ") + string(_APP_DESCRIPTION_) \
|
+ string(" - ") + string(_APP_DESCRIPTION_) \
|
||||||
+ string("\nAuthor : ") + string(_AUTHOR_) \
|
+ string("\nAuthor : ") + string(_AUTHOR_) \
|
||||||
|
|||||||
Reference in New Issue
Block a user