Skip to content

Commit

Permalink
Merge pull request #105 from mtomaschewski/mt-socket
Browse files Browse the repository at this point in the history
socket: added socket array function variants
  • Loading branch information
olafhering committed Nov 20, 2013
2 parents eacff17 + 45296ae commit 4e1e3d8
Show file tree
Hide file tree
Showing 4 changed files with 232 additions and 66 deletions.
4 changes: 2 additions & 2 deletions include/wicked/socket.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ extern int ni_local_socket_pair(ni_socket_t **, ni_socket_t **);
extern ni_socket_t * ni_socket_hold(ni_socket_t *);
extern void ni_socket_release(ni_socket_t *);
extern ni_socket_t * ni_socket_wrap(int fd, int sotype);
extern void ni_socket_activate(ni_socket_t *);
extern void ni_socket_deactivate(ni_socket_t *);
extern ni_bool_t ni_socket_activate(ni_socket_t *);
extern ni_bool_t ni_socket_deactivate(ni_socket_t *);
extern void ni_socket_deactivate_all(void);
extern int ni_socket_wait(long timeout);

Expand Down
1 change: 1 addition & 0 deletions include/wicked/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ typedef struct ni_dbus_server ni_dbus_server_t;
typedef struct ni_dbus_client ni_dbus_client_t;

typedef struct ni_socket ni_socket_t;
typedef struct ni_socket_array ni_socket_array_t;
typedef struct ni_buffer ni_buffer_t;
typedef struct ni_extension ni_extension_t;
typedef struct ni_script_action ni_script_action_t;
Expand Down
Loading

0 comments on commit 4e1e3d8

Please sign in to comment.