#include "config.h"
#include "knotify.h"
#include <stdlib.h>
#include <stdio.h>
#include <stddef.h>
#include <dirent.h>
#include <string.h>
#include <libintl.h>
#include "output.h"
#include "len.h"
#include "char_to_int.h"
#include "check_path_exists.h"
Go to the source code of this file.
|
| #define | UNUSED(x) (void)(x) |
| | Used to indicate that a function does not use a certain parameter. More...
|
| |
| #define | MIN(a, b) (((a) < (b)) ? (a) : (b)) |
| |
◆ MIN
| #define MIN |
( |
|
a, |
|
|
|
b |
|
) |
| (((a) < (b)) ? (a) : (b)) |
◆ UNUSED
| #define UNUSED |
( |
|
x | ) |
(void)(x) |
Used to indicate that a function does not use a certain parameter.
Definition at line 23 of file knotify.c.
◆ check()
| int check |
( |
const struct dirent * |
e | ) |
|
◆ find_dbus_user()
| uid_t find_dbus_user |
( |
void |
| ) |
|
◆ kdenotify()
| int kdenotify |
( |
char * |
app, |
|
|
char * |
title, |
|
|
char * |
text |
|
) |
| |
Sent a message to KDE's knotify system via D-Bus.
- Parameters
-
| [in] | app | Name off the originating program (NULL uses "kde"). |
| [in] | title | Short title for this message. |
| [in] | text | The text (body) of this message. |
- Returns
- return value
Definition at line 128 of file knotify.c.