]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
4 years agoSmall performance tweak
Nick Porter [Wed, 6 Jan 2021 17:50:10 +0000 (17:50 +0000)] 
Small performance tweak

4 years agoHandle pair_list created by fr_pair_list_afrom_str in proto_detail.c
Nick Porter [Wed, 6 Jan 2021 17:45:52 +0000 (17:45 +0000)] 
Handle pair_list created by fr_pair_list_afrom_str in proto_detail.c

4 years agos/fr_cursor/fr_dcursor/ in proto_detail/proto_detail.c
Nick Porter [Wed, 6 Jan 2021 17:36:12 +0000 (17:36 +0000)] 
s/fr_cursor/fr_dcursor/ in proto_detail/proto_detail.c

4 years agos/fr_cursor/fr_dcursor/ in proto_dhcpv6/proto_dhcpv6.c
Nick Porter [Wed, 6 Jan 2021 15:27:10 +0000 (15:27 +0000)] 
s/fr_cursor/fr_dcursor/ in proto_dhcpv6/proto_dhcpv6.c

4 years agos/fr_cursor/fr_dcursor/ in proto_dhcpv4/proto_dhcpv4.c
Nick Porter [Wed, 6 Jan 2021 15:25:55 +0000 (15:25 +0000)] 
s/fr_cursor/fr_dcursor/ in proto_dhcpv4/proto_dhcpv4.c

4 years agos/fr_cursor/fr_dcursor/ in proto_dhcpv4/dhcpclient.c
Nick Porter [Wed, 6 Jan 2021 15:24:40 +0000 (15:24 +0000)] 
s/fr_cursor/fr_dcursor/ in proto_dhcpv4/dhcpclient.c

4 years agoSimplify _sql_map_proc_get_value() to simply add value to supplied list head
Nick Porter [Wed, 6 Jan 2021 14:59:42 +0000 (14:59 +0000)] 
Simplify _sql_map_proc_get_value() to simply add value to supplied list head

4 years agoSimplify csv_map_getvalue() to just append value to supplied list header
Nick Porter [Wed, 6 Jan 2021 14:58:32 +0000 (14:58 +0000)] 
Simplify csv_map_getvalue() to just append value to supplied list header

4 years agoAmend map_list_mod_to_vps() to return fr_pair_list_t *
Nick Porter [Wed, 6 Jan 2021 14:57:03 +0000 (14:57 +0000)] 
Amend map_list_mod_to_vps() to return fr_pair_list_t *

4 years agoSet correct type for head in trigger_xlat()
Nick Porter [Wed, 6 Jan 2021 14:17:13 +0000 (14:17 +0000)] 
Set correct type for head in trigger_xlat()

4 years agoCorrect handling of temporary vps within foreach.c
Nick Porter [Wed, 6 Jan 2021 14:14:33 +0000 (14:14 +0000)] 
Correct handling of temporary vps within foreach.c

4 years agos/fr_cursor/fr_dcursor/ in lib/unlang/xlat_builtin.c
Nick Porter [Wed, 6 Jan 2021 14:11:13 +0000 (14:11 +0000)] 
s/fr_cursor/fr_dcursor/ in lib/unlang/xlat_builtin.c

Only for cursors operating on fr_pair_list_t.  There are also cursors
operating on lists of fr_value_box_t which need to remain as fr_cursor

4 years agos/fr_cursor/fr_dcursor/ in lib/io/test_point.h
Nick Porter [Wed, 6 Jan 2021 13:59:37 +0000 (13:59 +0000)] 
s/fr_cursor/fr_dcursor/ in lib/io/test_point.h

4 years agoAmend fr_pair_list_afrom_box() to return fr_pair_list_t *
Nick Porter [Wed, 6 Jan 2021 13:46:04 +0000 (13:46 +0000)] 
Amend fr_pair_list_afrom_box() to return fr_pair_list_t *

4 years agoAmend tmpl cursors to use dlists
Nick Porter [Wed, 6 Jan 2021 13:42:26 +0000 (13:42 +0000)] 
Amend tmpl cursors to use dlists

4 years agos/fr_cursor/fr_dcursor/ in lib/eap_aka_sim/vector.c
Nick Porter [Wed, 6 Jan 2021 11:24:01 +0000 (11:24 +0000)] 
s/fr_cursor/fr_dcursor/ in lib/eap_aka_sim/vector.c

4 years agoCorrect comment grammar
Nick Porter [Wed, 6 Jan 2021 11:22:59 +0000 (11:22 +0000)] 
Correct comment grammar

4 years agoEnsure num_elements is correct in destination list after move
Nick Porter [Wed, 6 Jan 2021 11:21:18 +0000 (11:21 +0000)] 
Ensure num_elements is correct in destination list after move

4 years agoCorrect documentation for fr_dlist_prev
Nick Porter [Wed, 6 Jan 2021 11:20:29 +0000 (11:20 +0000)] 
Correct documentation for fr_dlist_prev

4 years agos/fr_cursor/fr_dcursor/ in lib/eap_aka_sim/state_machine.c
Nick Porter [Wed, 6 Jan 2021 10:56:46 +0000 (10:56 +0000)] 
s/fr_cursor/fr_dcursor/ in lib/eap_aka_sim/state_machine.c

4 years agos/fr_cursor/fr_dcursor/ in lib/eap_aka_sim/encode.c
Nick Porter [Wed, 6 Jan 2021 10:35:19 +0000 (10:35 +0000)] 
s/fr_cursor/fr_dcursor/ in lib/eap_aka_sim/encode.c

4 years agos/fr_cursor/fr_dcursor/ in lib/eap_aka_sim/decode.c
Nick Porter [Wed, 6 Jan 2021 10:33:33 +0000 (10:33 +0000)] 
s/fr_cursor/fr_dcursor/ in lib/eap_aka_sim/decode.c

4 years agos/fr_cursor/fr_dcursor/ in lib/eap/chbind.c
Nick Porter [Wed, 6 Jan 2021 10:29:16 +0000 (10:29 +0000)] 
s/fr_cursor/fr_dcursor/ in lib/eap/chbind.c

4 years agoAmend eap_packet_to_vp append to a fr_pair_list_t *
Nick Porter [Wed, 6 Jan 2021 10:26:42 +0000 (10:26 +0000)] 
Amend eap_packet_to_vp append to a fr_pair_list_t *

4 years agos/fr_cursor/fr_dcursor/ in lib/eap/base.c
Nick Porter [Wed, 6 Jan 2021 10:25:13 +0000 (10:25 +0000)] 
s/fr_cursor/fr_dcursor/ in lib/eap/base.c

4 years agoCorrect method to free a list
Nick Porter [Wed, 6 Jan 2021 10:05:24 +0000 (10:05 +0000)] 
Correct method to free a list

4 years agoCorrect parameters in call to fr_pair_print()
Nick Porter [Wed, 6 Jan 2021 10:04:15 +0000 (10:04 +0000)] 
Correct parameters in call to fr_pair_print()

4 years agos/fr_cursor/fr_dcursor/ in unit_test_attribute.c
Nick Porter [Wed, 6 Jan 2021 09:54:20 +0000 (09:54 +0000)] 
s/fr_cursor/fr_dcursor/ in unit_test_attribute.c

4 years agos/fr_cursor/fr_dcursor/ in radsnmp.c
Nick Porter [Wed, 6 Jan 2021 09:49:25 +0000 (09:49 +0000)] 
s/fr_cursor/fr_dcursor/ in radsnmp.c

4 years agos/fr_cursor/fr_dcursor/ in radsniff.c
Nick Porter [Wed, 6 Jan 2021 09:32:08 +0000 (09:32 +0000)] 
s/fr_cursor/fr_dcursor/ in radsniff.c

4 years agos/fr_cursor/fr_dcursor/ in lib/server/tmpl_eval.c
Nick Porter [Tue, 29 Dec 2020 17:47:49 +0000 (17:47 +0000)] 
s/fr_cursor/fr_dcursor/ in lib/server/tmpl_eval.c

Plus tidy tmpl_copy_pairs to remove one cursor.

4 years agoCreate fr_pair_list_clear to clear and re-initialise vp lists
Nick Porter [Tue, 29 Dec 2020 16:55:51 +0000 (16:55 +0000)] 
Create fr_pair_list_clear to clear and re-initialise vp lists

4 years agos/fr_cursor/fr_dcursor/ in lib/unlang/foreach.c
Nick Porter [Tue, 29 Dec 2020 14:38:07 +0000 (14:38 +0000)] 
s/fr_cursor/fr_dcursor/ in lib/unlang/foreach.c

4 years agoUpdate trigger_args_afrom_server to return fr_pair_list_t *
Nick Porter [Tue, 29 Dec 2020 14:31:34 +0000 (14:31 +0000)] 
Update trigger_args_afrom_server to return fr_pair_list_t *

4 years agoRemove prev from dcursor iterator functions
Nick Porter [Tue, 29 Dec 2020 14:21:40 +0000 (14:21 +0000)] 
Remove prev from dcursor iterator functions

4 years agos/fr_cursor/fr_dcursor/ in lib/unlang/xlat_eval.c
Nick Porter [Tue, 29 Dec 2020 14:07:27 +0000 (14:07 +0000)] 
s/fr_cursor/fr_dcursor/ in lib/unlang/xlat_eval.c

Only in functions using fr_pair_t

4 years agoRemove unused xlat_fmt_copy_vp()
Nick Porter [Tue, 29 Dec 2020 12:12:41 +0000 (12:12 +0000)] 
Remove unused xlat_fmt_copy_vp()

4 years agos/fr_cursor/fr_dcursor/ in bin/unit_test_module.c
Nick Porter [Tue, 29 Dec 2020 12:12:03 +0000 (12:12 +0000)] 
s/fr_cursor/fr_dcursor/ in bin/unit_test_module.c

4 years agoAmend fr_proto_next_encodable() to work with fr_dcursor_t
Nick Porter [Tue, 22 Dec 2020 18:05:12 +0000 (18:05 +0000)] 
Amend fr_proto_next_encodable() to work with fr_dcursor_t

4 years agoAmend fr_radius_next_encodable to suit fr_dcursor_t use
Nick Porter [Tue, 22 Dec 2020 18:02:00 +0000 (18:02 +0000)] 
Amend fr_radius_next_encodable to suit fr_dcursor_t use

4 years agos/fr_cursor/fr_dcursor/ in protocols/radius
Nick Porter [Tue, 22 Dec 2020 18:01:01 +0000 (18:01 +0000)] 
s/fr_cursor/fr_dcursor/ in protocols/radius

4 years agoUse correct free routine for individual vps
Nick Porter [Tue, 22 Dec 2020 17:43:14 +0000 (17:43 +0000)] 
Use correct free routine for individual vps

4 years agos/fr_cursor/fr_dcursor/ in server/map.c
Nick Porter [Tue, 22 Dec 2020 17:35:36 +0000 (17:35 +0000)] 
s/fr_cursor/fr_dcursor/ in server/map.c

4 years agoCorrect function for moving pair list
Nick Porter [Tue, 22 Dec 2020 17:27:36 +0000 (17:27 +0000)] 
Correct function for moving pair list

4 years agos/fr_cursor/fr_dcursor/ in util/struct.c
Nick Porter [Tue, 22 Dec 2020 17:23:54 +0000 (17:23 +0000)] 
s/fr_cursor/fr_dcursor/ in util/struct.c

4 years agos/fr_cursor/fr_dcursor/ in util/pair_tokenize.c
Nick Porter [Tue, 22 Dec 2020 17:19:58 +0000 (17:19 +0000)] 
s/fr_cursor/fr_dcursor/ in util/pair_tokenize.c

4 years agoAmend _fr_pair_list_log() to handle fr_pair_list_t
Nick Porter [Tue, 22 Dec 2020 17:18:26 +0000 (17:18 +0000)] 
Amend _fr_pair_list_log() to handle fr_pair_list_t

4 years agos/fr_cursor/fr_dcursor/ in util/pair_print.c
Nick Porter [Tue, 22 Dec 2020 17:16:52 +0000 (17:16 +0000)] 
s/fr_cursor/fr_dcursor/ in util/pair_print.c

4 years agos/fr_cursor/fr_dcursor/ in server/state.c
Nick Porter [Tue, 22 Dec 2020 17:13:00 +0000 (17:13 +0000)] 
s/fr_cursor/fr_dcursor/ in server/state.c

4 years agos/fr_cursor/fr_dcursor/ in server/snmp.c
Nick Porter [Tue, 22 Dec 2020 17:11:48 +0000 (17:11 +0000)] 
s/fr_cursor/fr_dcursor/ in server/snmp.c

4 years agos/fr_cursor/fr_dcursor/ in server/password.c
Nick Porter [Tue, 22 Dec 2020 17:03:22 +0000 (17:03 +0000)] 
s/fr_cursor/fr_dcursor/ in server/password.c

4 years agos/fr_cursor/fr_dcursor/ in server/map_async.c
Nick Porter [Tue, 22 Dec 2020 16:58:11 +0000 (16:58 +0000)] 
s/fr_cursor/fr_dcursor/ in server/map_async.c

4 years agos/fr_cursor/fr_dcursor/ in server/exfile.c
Nick Porter [Tue, 22 Dec 2020 16:48:44 +0000 (16:48 +0000)] 
s/fr_cursor/fr_dcursor/ in server/exfile.c

4 years agos/fr_cursor/fr_dcursor/ in server/exec.c
Nick Porter [Tue, 22 Dec 2020 16:40:24 +0000 (16:40 +0000)] 
s/fr_cursor/fr_dcursor/ in server/exec.c

4 years agos/fr_cursor/fr_dcursor/ in server/cond_eval.c
Nick Porter [Tue, 22 Dec 2020 16:39:29 +0000 (16:39 +0000)] 
s/fr_cursor/fr_dcursor/ in server/cond_eval.c

4 years agos/fr_cursor/fr_dcursor/ in io/pair.h
Nick Porter [Tue, 22 Dec 2020 16:36:49 +0000 (16:36 +0000)] 
s/fr_cursor/fr_dcursor/ in io/pair.h

4 years agoAdd tests for dcursors
Nick Porter [Wed, 20 Jan 2021 12:39:36 +0000 (12:39 +0000)] 
Add tests for dcursors

4 years agoInitial implementation of dcursor
Nick Porter [Tue, 12 Jan 2021 10:06:02 +0000 (10:06 +0000)] 
Initial implementation of dcursor

Cursors designed to work with dlists

4 years agoReplace cusror functions with pair_list functions in rlm_sigtran/client.c
Nick Porter [Tue, 19 Jan 2021 17:24:55 +0000 (17:24 +0000)] 
Replace cusror functions with pair_list functions in rlm_sigtran/client.c

4 years agoReplace cursor functions with pair_list functions in rlm_mruby.c
Nick Porter [Tue, 19 Jan 2021 17:23:18 +0000 (17:23 +0000)] 
Replace cursor functions with pair_list functions in rlm_mruby.c

4 years agoReplace cursor functions with pair_list functions in rlm_eap_ttls/ttls.c
Nick Porter [Mon, 11 Jan 2021 09:22:10 +0000 (09:22 +0000)] 
Replace cursor functions with pair_list functions in rlm_eap_ttls/ttls.c

4 years agoReplace cursor functions with pair_list functions in tacacs/encode.c
Nick Porter [Sat, 9 Jan 2021 16:11:53 +0000 (16:11 +0000)] 
Replace cursor functions with pair_list functions in tacacs/encode.c

4 years agoReplace cursor functions with pair_list functions in rlm_stats.c
Nick Porter [Sat, 9 Jan 2021 14:36:32 +0000 (14:36 +0000)] 
Replace cursor functions with pair_list functions in rlm_stats.c

4 years agoReplace cursor functions with pair_list functions in rlm_radutmp.c
Nick Porter [Sat, 9 Jan 2021 14:34:25 +0000 (14:34 +0000)] 
Replace cursor functions with pair_list functions in rlm_radutmp.c

4 years agoReplace cursor functions with pair_list functions in rlm_sql.c
Nick Porter [Sat, 9 Jan 2021 14:17:37 +0000 (14:17 +0000)] 
Replace cursor functions with pair_list functions in rlm_sql.c

4 years agoReplace cursor functions with pair_list functions in rlm_python.c
Nick Porter [Sat, 9 Jan 2021 14:27:00 +0000 (14:27 +0000)] 
Replace cursor functions with pair_list functions in rlm_python.c

4 years agoReplace cursor functions with pair_list functions in rlm_utf8.c
Nick Porter [Fri, 8 Jan 2021 18:02:02 +0000 (18:02 +0000)] 
Replace cursor functions with pair_list functions in rlm_utf8.c

4 years agoReplace cursor functions with pair_list functions in rlm_unix.c
Nick Porter [Fri, 8 Jan 2021 18:01:40 +0000 (18:01 +0000)] 
Replace cursor functions with pair_list functions in rlm_unix.c

4 years agoReplace cursor functions with pair_list functions in rlm_mschap.c
Nick Porter [Fri, 8 Jan 2021 17:31:06 +0000 (17:31 +0000)] 
Replace cursor functions with pair_list functions in rlm_mschap.c

4 years agoReplace cursor functions with pair_list functions in rlm_ldap/group.c
Nick Porter [Fri, 8 Jan 2021 17:23:29 +0000 (17:23 +0000)] 
Replace cursor functions with pair_list functions in rlm_ldap/group.c

4 years agoReplace cursor functions with pair_list functions in rlm_json.c
Nick Porter [Fri, 8 Jan 2021 17:21:32 +0000 (17:21 +0000)] 
Replace cursor functions with pair_list functions in rlm_json.c

4 years agoReplace cursor functions with pair_list functions in rlm_isc_dhcp.c
Nick Porter [Fri, 8 Jan 2021 16:55:59 +0000 (16:55 +0000)] 
Replace cursor functions with pair_list functions in rlm_isc_dhcp.c

4 years agoReplace cursor functions with pair_list functions in rlm_eap_peap/peap.c
Nick Porter [Fri, 8 Jan 2021 16:23:40 +0000 (16:23 +0000)] 
Replace cursor functions with pair_list functions in rlm_eap_peap/peap.c

4 years agoReplace cursor functions with pair_list functions in rlm_digest.c
Nick Porter [Fri, 8 Jan 2021 14:56:01 +0000 (14:56 +0000)] 
Replace cursor functions with pair_list functions in rlm_digest.c

4 years agoReplace cursor functions with pair_list functions in eap_fast.c
Nick Porter [Fri, 8 Jan 2021 16:04:29 +0000 (16:04 +0000)] 
Replace cursor functions with pair_list functions in eap_fast.c

4 years agoReplace cursor functions with pair_list functions in rlm_dhcpv4.c
Nick Porter [Fri, 8 Jan 2021 14:53:13 +0000 (14:53 +0000)] 
Replace cursor functions with pair_list functions in rlm_dhcpv4.c

4 years agoReplace cursor functions with pair_list functions in rlm_detail.c
Nick Porter [Fri, 8 Jan 2021 14:45:19 +0000 (14:45 +0000)] 
Replace cursor functions with pair_list functions in rlm_detail.c

4 years agoReplace cursor functions with pair_list functions in rlm_client.c
Nick Porter [Fri, 8 Jan 2021 14:43:17 +0000 (14:43 +0000)] 
Replace cursor functions with pair_list functions in rlm_client.c

4 years agoReplace cursor functions with pair_list functions in rlm_attr_filter.c
Nick Porter [Fri, 8 Jan 2021 14:38:36 +0000 (14:38 +0000)] 
Replace cursor functions with pair_list functions in rlm_attr_filter.c

4 years agoReplace cursor functions with pair_list functions in rlm_cache.c
Nick Porter [Fri, 8 Jan 2021 13:35:37 +0000 (13:35 +0000)] 
Replace cursor functions with pair_list functions in rlm_cache.c

4 years agoReplace cursor functions with pair_list functions in lib/server/map.c
Nick Porter [Fri, 8 Jan 2021 12:37:45 +0000 (12:37 +0000)] 
Replace cursor functions with pair_list functions in lib/server/map.c

4 years agoReplace cursor functions with pair_list functions in proto_tacacs.c
Nick Porter [Wed, 6 Jan 2021 18:02:46 +0000 (18:02 +0000)] 
Replace cursor functions with pair_list functions in proto_tacacs.c

4 years agoReplace cursor functions with pair_list functions in proto_radius.c
Nick Porter [Wed, 6 Jan 2021 17:59:21 +0000 (17:59 +0000)] 
Replace cursor functions with pair_list functions in proto_radius.c

4 years agoReplace cursor functions with pair_list functions in proto_dhcpv6_process.c
Nick Porter [Wed, 6 Jan 2021 17:54:06 +0000 (17:54 +0000)] 
Replace cursor functions with pair_list functions in proto_dhcpv6_process.c

4 years agoReplace cursor functions with pair_list functions in proto_dhcpv4/dhcpclient.c
Nick Porter [Wed, 6 Jan 2021 15:23:58 +0000 (15:23 +0000)] 
Replace cursor functions with pair_list functions in proto_dhcpv4/dhcpclient.c

4 years agoReplace cursor functions with pair_list functions in lib/server/map_async.c
Nick Porter [Wed, 6 Jan 2021 12:36:54 +0000 (12:36 +0000)] 
Replace cursor functions with pair_list functions in lib/server/map_async.c

4 years agoReplace cursor functions with pair_list functions in lib/server/log.c
Nick Porter [Wed, 6 Jan 2021 11:35:43 +0000 (11:35 +0000)] 
Replace cursor functions with pair_list functions in lib/server/log.c

4 years agoReplace cursor functions with pair_list functions in lib/server/paircmp.c
Nick Porter [Wed, 6 Jan 2021 11:33:35 +0000 (11:33 +0000)] 
Replace cursor functions with pair_list functions in lib/server/paircmp.c

4 years agoReplace cursor functions with pair_list functions in lib/server/exec.c
Nick Porter [Wed, 6 Jan 2021 11:25:40 +0000 (11:25 +0000)] 
Replace cursor functions with pair_list functions in lib/server/exec.c

4 years agoReplace cursor functions with pair_list in lib/eap_aka_sim/state_machine.c
Nick Porter [Wed, 6 Jan 2021 11:18:14 +0000 (11:18 +0000)] 
Replace cursor functions with pair_list in lib/eap_aka_sim/state_machine.c

4 years agoReplace cursor functions with pair_list functions in lib/server/client.c
Nick Porter [Wed, 6 Jan 2021 11:14:40 +0000 (11:14 +0000)] 
Replace cursor functions with pair_list functions in lib/server/client.c

4 years agoReplace cursor functions with pair_list functions in lib/ldap/control.c
Nick Porter [Wed, 6 Jan 2021 10:59:07 +0000 (10:59 +0000)] 
Replace cursor functions with pair_list functions in lib/ldap/control.c

4 years agoReplace cursor functions with pair_list functions in lib/eap/chbind.c
Nick Porter [Wed, 6 Jan 2021 10:29:45 +0000 (10:29 +0000)] 
Replace cursor functions with pair_list functions in lib/eap/chbind.c

4 years agoReplace cursor functions with pair_list functions in lib/curl/base.c
Nick Porter [Wed, 6 Jan 2021 10:15:04 +0000 (10:15 +0000)] 
Replace cursor functions with pair_list functions in lib/curl/base.c

4 years agoReplace cursor functions with pair_list functions in unit_test_attribute.c
Nick Porter [Wed, 6 Jan 2021 10:02:15 +0000 (10:02 +0000)] 
Replace cursor functions with pair_list functions in unit_test_attribute.c

4 years agoReplace cursor functions with pair_list functions in radsniff.c
Nick Porter [Wed, 6 Jan 2021 09:37:06 +0000 (09:37 +0000)] 
Replace cursor functions with pair_list functions in radsniff.c

4 years agoReplace cursor functions with pair_list functions in radclient.c
Nick Porter [Tue, 5 Jan 2021 17:52:30 +0000 (17:52 +0000)] 
Replace cursor functions with pair_list functions in radclient.c

4 years agoReplace cursors with pair_list functions in lib/json/json.c
Nick Porter [Fri, 1 Jan 2021 17:43:58 +0000 (17:43 +0000)] 
Replace cursors with pair_list functions in lib/json/json.c

4 years agoReplace cursor with pair list in fr_tls_session_pairs_from_x509_cert()
Nick Porter [Tue, 22 Dec 2020 18:11:42 +0000 (18:11 +0000)] 
Replace cursor with pair list in fr_tls_session_pairs_from_x509_cert()

4 years agoSwap cursor functions for list functions in map_list_mod_to_vps()
Nick Porter [Tue, 22 Dec 2020 16:59:50 +0000 (16:59 +0000)] 
Swap cursor functions for list functions in map_list_mod_to_vps()