Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dhcp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
68
Issues
68
List
Boards
Labels
Service Desk
Milestones
Merge Requests
17
Merge Requests
17
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ISC Open Source Projects
dhcp
Commits
7528da64
Commit
7528da64
authored
Oct 04, 1999
by
Ted Lemon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Constifications from Brian Murrell.
parent
fd81bd9e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
+12
-3
dhcpctl/dhcpctl.c
dhcpctl/dhcpctl.c
+2
-2
dhcpctl/dhcpctl.h
dhcpctl/dhcpctl.h
+10
-1
No files found.
dhcpctl/dhcpctl.c
View file @
7528da64
...
...
@@ -256,8 +256,8 @@ dhcpctl_status dhcpctl_set_value (dhcpctl_handle h, dhcpctl_data_string value,
trouble of creating a data_string for a NUL-terminated string.
Does not update the server - just sets the value on the handle. */
dhcpctl_status
dhcpctl_set_string_value
(
dhcpctl_handle
h
,
char
*
value
,
char
*
value_name
)
dhcpctl_status
dhcpctl_set_string_value
(
dhcpctl_handle
h
,
c
onst
c
har
*
value
,
c
onst
c
har
*
value_name
)
{
isc_result_t
status
;
omapi_typed_data_t
*
tv
=
(
omapi_typed_data_t
*
)
0
;
...
...
dhcpctl/dhcpctl.h
View file @
7528da64
...
...
@@ -20,6 +20,9 @@
* http://www.isc.org for more information.
*/
#ifndef _DHCPCTL_H_
#define _DHCPCTL_H_
#include <omapip/omapip.h>
typedef
isc_result_t
dhcpctl_status
;
...
...
@@ -45,8 +48,12 @@ typedef struct {
omapi_handle_t
remote_handle
;
}
dhcpctl_remote_object_t
;
#ifndef __cplusplus
// for some reason, these cause problems when included in C++ classes
omapi_object_type_t
*
dhcpctl_callback_type
;
omapi_object_type_t
*
dhcpctl_remote_type
;
#endif
#endif _DHCPCTL_H_
dhcpctl_status
dhcpctl_initialize
(
void
);
dhcpctl_status
dhcpctl_connect
(
dhcpctl_handle
*
,
...
...
@@ -56,8 +63,10 @@ dhcpctl_status dhcpctl_get_value (dhcpctl_data_string *,
dhcpctl_handle
,
char
*
);
dhcpctl_status
dhcpctl_get_boolean
(
int
*
,
dhcpctl_handle
,
char
*
);
dhcpctl_status
dhcpctl_set_value
(
dhcpctl_handle
,
dhcpctl_data_string
,
char
*
);
dhcpctl_status
dhcpctl_set_string_value
(
dhcpctl_handle
,
char
*
,
char
*
);
dhcpctl_status
dhcpctl_set_string_value
(
dhcpctl_handle
,
const
char
*
,
const
char
*
);
dhcpctl_status
dhcpctl_set_boolean_value
(
dhcpctl_handle
,
int
,
char
*
);
dhcpctl_status
dhcpctl_set_int_value
(
dhcpctl_handle
,
int
,
char
*
);
dhcpctl_status
dhcpctl_object_update
(
dhcpctl_handle
,
dhcpctl_handle
);
dhcpctl_status
dhcpctl_object_refresh
(
dhcpctl_handle
,
dhcpctl_handle
);
dhcpctl_status
dhcpctl_object_remove
(
dhcpctl_handle
,
dhcpctl_handle
);
...
...
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