]>
Commit | Line | Data |
---|---|---|
1fe6d37e | 1 | /* SPDX-License-Identifier: MIT-0 */ |
f4d74c61 | 2 | |
787f78b6 ZJS |
3 | #include <stdio.h> |
4 | #include <systemd/sd-id128.h> | |
5 | ||
6 | #define OUR_APPLICATION_ID SD_ID128_MAKE(c2,73,27,73,23,db,45,4e,a6,3b,b9,6e,79,b5,3e,97) | |
7 | ||
8 | int main(int argc, char *argv[]) { | |
9 | sd_id128_t id; | |
10 | sd_id128_get_machine_app_specific(OUR_APPLICATION_ID, &id); | |
11 | printf("Our application ID: " SD_ID128_FORMAT_STR "\n", SD_ID128_FORMAT_VAL(id)); | |
12 | return 0; | |
13 | } |