[U-Boot] [PATCH v3 3/6] env: add check/apply logic to himport_r()

2012-04-02 Thread Gerlando Falauto
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;

Re: [U-Boot] [PATCH v3 3/6] env: add check/apply logic to himport_r()

2012-04-02 Thread Marek Vasut
Dear Gerlando Falauto, 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

Re: [U-Boot] [PATCH v3 3/6] env: add check/apply logic to himport_r()

2012-04-02 Thread Marek Vasut
Dear Marek Vasut, Dear Gerlando Falauto, 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

Re: [U-Boot] [PATCH v3 3/6] env: add check/apply logic to himport_r()

2012-04-02 Thread Gerlando Falauto
On 04/02/2012 09:01 PM, Marek Vasut wrote: Dear Marek Vasut, Dear Gerlando Falauto, 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

Re: [U-Boot] [PATCH v3 3/6] env: add check/apply logic to himport_r()

2012-04-02 Thread Marek Vasut
Dear Gerlando Falauto, On 04/02/2012 09:01 PM, Marek Vasut wrote: Dear Marek Vasut, Dear Gerlando Falauto, 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: