summaryrefslogtreecommitdiff
path: root/drivers/s390/net/smsgiucv.h
diff options
context:
space:
mode:
authorHendrik Brueckner <brueckner@linux.vnet.ibm.com>2010-03-08 12:26:26 +0100
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>2010-03-08 12:26:28 +0100
commit1ffaa640c6ba135aafc91841204e41846eae6841 (patch)
treecb5357dcef64814b9d0734e713bec40d9d89b458 /drivers/s390/net/smsgiucv.h
parent09003ed90a2880de7e36b170a9298dd10d53e322 (diff)
downloadlwn-1ffaa640c6ba135aafc91841204e41846eae6841.tar.gz
lwn-1ffaa640c6ba135aafc91841204e41846eae6841.zip
[S390] smsgiucv_app: deliver z/VM CP special messages (SMSG) as uevents
The smsgiucv_app driver registers a callback with the smsgiucv driver to receive z/VM CP special messages (SMSG) starting with "APP". When the callback is called for special messages, the driver creates an uevent for the received message. The uevent consists of additional environment data containing the message prefix ("APP"), message sender, and message content. udev rules can be used to trigger application specific actions through matching the content or sender of the special message. Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/net/smsgiucv.h')
-rw-r--r--drivers/s390/net/smsgiucv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/s390/net/smsgiucv.h b/drivers/s390/net/smsgiucv.h
index 9410b45fde03..149a1151608d 100644
--- a/drivers/s390/net/smsgiucv.h
+++ b/drivers/s390/net/smsgiucv.h
@@ -5,6 +5,8 @@
* Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com)
*/
+#define SMSGIUCV_DRV_NAME "SMSGIUCV"
+
int smsg_register_callback(const char *,
void (*)(const char *, char *));
void smsg_unregister_callback(const char *,