Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
bpm-sw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
bpm
bpm-sw
Commits
c5efc682
Commit
c5efc682
authored
Feb 22, 2016
by
Lucas Russo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include/{dev_io*,dev_mngr*}: fix duplicate func pointers definitions
parent
7144b8ea
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
18 deletions
+9
-18
dev_io_core.h
include/dev_io_core.h
+0
-9
dev_mngr_core.h
include/dev_mngr_core.h
+0
-9
hal_stddef.h
include/hal_stddef.h
+9
-0
No files found.
include/dev_io_core.h
View file @
c5efc682
...
...
@@ -16,15 +16,6 @@ extern "C" {
#define SMIO_HKEY_LEN 8
#define NODES_MAX_LEN 20
/* Signal handler function pointer */
typedef
void
(
*
sig_handler_fp
)(
int
sig
,
siginfo_t
*
siginfo
,
void
*
context
);
/* Wait child handler function pointer */
typedef
int
(
*
wait_chld_handler_fp
)(
void
);
/* Wait child with timeout handler function pointer */
typedef
int
(
*
wait_chld_timed_handler_fp
)(
int
timeout
);
/* Spawn child handler function pointer */
typedef
int
(
*
spawn_chld_handler_fp
)(
const
char
*
program
,
char
*
const
argv
[]);
/* Node of sig_ops list */
typedef
struct
{
int
signal
;
/* Signal identifier, e.g., SIGINT, SIGKILL, etc... */
...
...
include/dev_mngr_core.h
View file @
c5efc682
...
...
@@ -24,15 +24,6 @@ extern char *dmngr_work_dir;
extern
char
*
dmngr_spawn_broker_cfg_str
;
extern
int
dmngr_spawn_broker_cfg
;
/* Signal handler function pointer */
typedef
void
(
*
sig_handler_fp
)(
int
sig
,
siginfo_t
*
siginfo
,
void
*
context
);
/* Wait child handler function pointer */
typedef
int
(
*
wait_chld_handler_fp
)(
void
);
/* Spawn child handler function pointer */
typedef
int
(
*
spawn_chld_handler_fp
)(
const
char
*
program
,
char
*
const
argv
[]);
/* Spawn broker handler function pointer */
typedef
int
(
*
spawn_broker_handler_fp
)(
const
char
*
program
,
char
*
const
argv
[]);
/* Node of sig_ops list */
typedef
struct
{
int
signal
;
/* Signal identifier, e.g., SIGINT, SIGKILL, etc... */
...
...
include/hal_stddef.h
View file @
c5efc682
...
...
@@ -36,4 +36,13 @@
#define ARRAY_SIZE(ARRAY) (sizeof(ARRAY)/sizeof((ARRAY)[0]))
/* Signal handler function pointer */
typedef
void
(
*
sig_handler_fp
)(
int
sig
,
siginfo_t
*
siginfo
,
void
*
context
);
/* Wait child handler function pointer */
typedef
int
(
*
wait_chld_handler_fp
)(
void
);
/* Spawn child handler function pointer */
typedef
int
(
*
spawn_chld_handler_fp
)(
const
char
*
program
,
char
*
const
argv
[]);
/* Spawn broker handler function pointer */
typedef
int
(
*
spawn_broker_handler_fp
)(
const
char
*
program
,
char
*
const
argv
[]);
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment