Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PPSi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
PPSi
Commits
54bcd48a
Commit
54bcd48a
authored
Feb 26, 2013
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trivial: turn NP() and SRV() functions
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
e998cef2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
ppsi.h
include/ppsi/ppsi.h
+8
-2
No files found.
include/ppsi/ppsi.h
View file @
54bcd48a
...
...
@@ -287,9 +287,15 @@ static inline struct DSTimeProperties *DSPRO(struct pp_instance *ppi)
return
ppi
->
timePropertiesDS
;
}
#define NP(x) ((x)->net_path)
static
inline
struct
pp_net_path
*
NP
(
struct
pp_instance
*
ppi
)
{
return
ppi
->
net_path
;
}
#define SRV(x) ((x)->servo)
static
inline
struct
pp_servo
*
SRV
(
struct
pp_instance
*
ppi
)
{
return
ppi
->
servo
;
}
/* The channel for an instance must be created and possibly destroyed. */
extern
int
pp_open_instance
(
struct
pp_instance
*
ppi
,
...
...
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