Home
last modified time | relevance | path

Searched hist:c5983592e912835fe9ed00b9d98b05580c460eae (Results 1 – 3 of 3) sorted by relevance

/rk3399_rockchip-uboot/include/
H A Dsearch.hc5983592e912835fe9ed00b9d98b05580c460eae Fri Aug 24 00:11:39 UTC 2012 Gerlando Falauto <gerlando.falauto@keymile.com> env: add check/apply logic to himport_r()

Change hashtable so that a callback function will decide whether a
variable can be overwritten, and possibly apply the changes.

So add a new field to struct hsearch_data:

o "apply" callback function to check whether a variable can be
overwritten, and possibly immediately apply the changes;
when NULL, no check is performed.

And a new argument to himport_r():
o "do_apply": whether to call the apply callback function

NOTE: This patch does not change the current behavior.

Signed-off-by: Gerlando Falauto <gerlando.falauto@keymile.com>
Reviewed-by: Marek Vasut <marex@denx.de>
H A Denvironment.hc5983592e912835fe9ed00b9d98b05580c460eae Fri Aug 24 00:11:39 UTC 2012 Gerlando Falauto <gerlando.falauto@keymile.com> env: add check/apply logic to himport_r()

Change hashtable so that a callback function will decide whether a
variable can be overwritten, and possibly apply the changes.

So add a new field to struct hsearch_data:

o "apply" callback function to check whether a variable can be
overwritten, and possibly immediately apply the changes;
when NULL, no check is performed.

And a new argument to himport_r():
o "do_apply": whether to call the apply callback function

NOTE: This patch does not change the current behavior.

Signed-off-by: Gerlando Falauto <gerlando.falauto@keymile.com>
Reviewed-by: Marek Vasut <marex@denx.de>
/rk3399_rockchip-uboot/lib/
H A Dhashtable.cc5983592e912835fe9ed00b9d98b05580c460eae Fri Aug 24 00:11:39 UTC 2012 Gerlando Falauto <gerlando.falauto@keymile.com> env: add check/apply logic to himport_r()

Change hashtable so that a callback function will decide whether a
variable can be overwritten, and possibly apply the changes.

So add a new field to struct hsearch_data:

o "apply" callback function to check whether a variable can be
overwritten, and possibly immediately apply the changes;
when NULL, no check is performed.

And a new argument to himport_r():
o "do_apply": whether to call the apply callback function

NOTE: This patch does not change the current behavior.

Signed-off-by: Gerlando Falauto <gerlando.falauto@keymile.com>
Reviewed-by: Marek Vasut <marex@denx.de>