mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-02-09 15:38:38 +00:00
const several ptr args
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@437 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
parent
1f16e29c84
commit
99f4db7766
@ -37,7 +37,7 @@
|
|||||||
* ----------------------------------*/
|
* ----------------------------------*/
|
||||||
int copy_tcp_connection(
|
int copy_tcp_connection(
|
||||||
tcp_connection_t * p_dest_connection,
|
tcp_connection_t * p_dest_connection,
|
||||||
tcp_connection_t * p_source_connection
|
const tcp_connection_t * p_source_connection
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
if ( !p_dest_connection || !p_source_connection )
|
if ( !p_dest_connection || !p_source_connection )
|
||||||
@ -621,7 +621,7 @@ tcp_port_monitor_t * create_tcp_port_monitor(
|
|||||||
The requested monitor value is copied into a client-supplied char buffer.
|
The requested monitor value is copied into a client-supplied char buffer.
|
||||||
Returns 0 on success, -1 otherwise. */
|
Returns 0 on success, -1 otherwise. */
|
||||||
int peek_tcp_port_monitor(
|
int peek_tcp_port_monitor(
|
||||||
tcp_port_monitor_t * p_monitor,
|
const tcp_port_monitor_t * p_monitor,
|
||||||
int item,
|
int item,
|
||||||
int connection_index,
|
int connection_index,
|
||||||
char * p_buffer,
|
char * p_buffer,
|
||||||
@ -902,7 +902,7 @@ int insert_tcp_port_monitor_into_collection(
|
|||||||
|
|
||||||
/* Clients need a way to find monitors */
|
/* Clients need a way to find monitors */
|
||||||
tcp_port_monitor_t * find_tcp_port_monitor(
|
tcp_port_monitor_t * find_tcp_port_monitor(
|
||||||
tcp_port_monitor_collection_t * p_collection,
|
const tcp_port_monitor_collection_t * p_collection,
|
||||||
in_port_t port_range_begin,
|
in_port_t port_range_begin,
|
||||||
in_port_t port_range_end
|
in_port_t port_range_end
|
||||||
)
|
)
|
||||||
|
@ -103,7 +103,7 @@ typedef struct _tcp_connection_t {
|
|||||||
* ----------------------------------*/
|
* ----------------------------------*/
|
||||||
int copy_tcp_connection(
|
int copy_tcp_connection(
|
||||||
tcp_connection_t * /* p_dest_connection */,
|
tcp_connection_t * /* p_dest_connection */,
|
||||||
tcp_connection_t * /* p_source_connection */
|
const tcp_connection_t * /* p_source_connection */
|
||||||
);
|
);
|
||||||
|
|
||||||
/* ------------------------------------------------------------------------
|
/* ------------------------------------------------------------------------
|
||||||
@ -269,7 +269,7 @@ tcp_port_monitor_t * create_tcp_port_monitor(
|
|||||||
The requested monitor value is copied into a client-supplied char buffer.
|
The requested monitor value is copied into a client-supplied char buffer.
|
||||||
Returns 0 on success, -1 otherwise. */
|
Returns 0 on success, -1 otherwise. */
|
||||||
int peek_tcp_port_monitor(
|
int peek_tcp_port_monitor(
|
||||||
tcp_port_monitor_t * /* p_monitor */,
|
const tcp_port_monitor_t * /* p_monitor */,
|
||||||
int /* item, ( item of interest, from tcp_port_monitor_peekables enum ) */,
|
int /* item, ( item of interest, from tcp_port_monitor_peekables enum ) */,
|
||||||
int /* connection_index, ( 0 to number of connections in monitor - 1 )*/,
|
int /* connection_index, ( 0 to number of connections in monitor - 1 )*/,
|
||||||
char * /* p_buffer, buffer to receive requested value */,
|
char * /* p_buffer, buffer to receive requested value */,
|
||||||
@ -304,7 +304,7 @@ int insert_tcp_port_monitor_into_collection(
|
|||||||
|
|
||||||
/* Clients need a way to find monitors */
|
/* Clients need a way to find monitors */
|
||||||
tcp_port_monitor_t * find_tcp_port_monitor(
|
tcp_port_monitor_t * find_tcp_port_monitor(
|
||||||
tcp_port_monitor_collection_t * /* p_collection */,
|
const tcp_port_monitor_collection_t * /* p_collection */,
|
||||||
in_port_t /* port_range_begin */,
|
in_port_t /* port_range_begin */,
|
||||||
in_port_t /* port_range_end */
|
in_port_t /* port_range_end */
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user