pacemaker
1.1.14-70404b0
Scalable High-Availability cluster resource manager
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
include
crm
common
procfs.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2015
3
* Andrew Beekhof <andrew@beekhof.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
* You should have received a copy of the GNU General Public
16
* License along with this library; if not, write to the Free Software
17
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18
*/
19
26
/* public APIs from procfs.c are declared in util.h */
27
28
#ifndef CRM_COMMON_PROCFS__H
29
#define CRM_COMMON_PROCFS__H
30
31
#include <sys/types.h>
32
#include <dirent.h>
33
34
int
crm_procfs_process_info
(
struct
dirent *entry,
char
*name,
int
*
pid
);
35
int
crm_procfs_pid_of
(
const
char
*name);
36
37
#endif
/* CRM_COMMON_PROCFS__H */
crm_procfs_pid_of
int crm_procfs_pid_of(const char *name)
Definition:
procfs.c:117
pid
uint32_t pid
Definition:
internal.h:49
crm_procfs_process_info
int crm_procfs_process_info(struct dirent *entry, char *name, int *pid)
Definition:
procfs.c:46
Generated on Thu Mar 7 2019 18:13:34 for pacemaker by
1.8.11