netatalk
4.5.0
Free and Open Source Apple Filing Protocol (AFP) Server
Toggle main menu visibility
Loading...
Searching...
No Matches
afpstats.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2013 Frank Lahm <franklahm@gmail.com>
3
* Copyright (c) 2026 Daniel Markstedt <daniel@mindani.net>
4
*
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation; either version 2 of the License, or
8
* (at your option) any later version.
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*/
15
16
#ifndef AFPD_AFPSTATS_H
17
#define AFPD_AFPSTATS_H
18
19
#include <stdbool.h>
20
#include <sys/types.h>
21
22
#include <
atalk/server_child.h
>
23
24
extern
int
afpstats_init
(
server_child_t
*
children
,
const
char
*sock_path,
25
bool
set_group, gid_t gid);
26
extern
void
afpstats_handle_accept
(
int
listen_fd);
27
28
#endif
afpstats_init
int afpstats_init(server_child_t *children, const char *sock_path, bool set_group, gid_t gid)
Definition
afpstats.c:43
afpstats_handle_accept
void afpstats_handle_accept(int listen_fd)
Definition
afpstats.c:176
children
static server_child_t * children
Definition
asp_getsess.c:43
server_child.h
data structures and utility functions for child processes
server_child_t
Definition
server_child.h:47
etc
afpd
afpstats.h
Generated by
1.17.0