mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 17:51:43 +00:00
1ffaa640c6
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>
15 lines
383 B
C
15 lines
383 B
C
/*
|
|
* IUCV special message driver
|
|
*
|
|
* Copyright (C) 2003 IBM Deutschland Entwicklung GmbH, IBM Corporation
|
|
* 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 *,
|
|
void (*)(const char *, char *));
|
|
|