blob: ae40ff0fdf177a8bc33e8c5cebd5fea45aabd409 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
/*
* This code REQUIRES 1.2.1 or higher/ NET3.029
*
* This module:
* This module is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.
*/
#ifndef _AX25_UID_H
#define _AX25_UID_H
typedef struct ax25_uid_assoc {
struct ax25_uid_assoc *next;
uid_t uid;
ax25_address call;
char device[IFNAMSIZ];
} ax25_uid_assoc;
typedef enum {
AX25_UID_POLICY_ARBITRARY_CALLSIGN,
AX25_UID_POLICY_GIVEN_CALLSIGN,
AX25_UID_POLICY_ANY_SSID
} t_ax25_uid_policy;
extern t_ax25_uid_policy ax25_uid_policy;
extern int ax25_cs_get_info(char *, char **, off_t, int);
extern int ax25_uid_ioctl(int, struct sockaddr_ax25*);
extern ax25_address* ax25_find_by_uid(uid_t uid);
extern ax25_address* ax25_find_match_for_uid(uid_t uid, ax25_address *providec, char *device);
#endif
|