aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2013-02-05 10:10:45 +0100
committerBjörn Gustavsson <[email protected]>2013-02-11 14:09:27 +0100
commit43093a22099f6b0ec33970163a40f42a6b70b978 (patch)
treedc017e5ae53fdb623e38aceb99a4db13a04e80ef /bin
parentb00651f9701f6d352b270af3700abce0e65aa5b6 (diff)
downloadotp-43093a22099f6b0ec33970163a40f42a6b70b978.tar.gz
otp-43093a22099f6b0ec33970163a40f42a6b70b978.tar.bz2
otp-43093a22099f6b0ec33970163a40f42a6b70b978.zip
prim_file: Refactor handling of responses
Currently, the format of the return value from drv_command/3 is determined solely by the efile driver's response. In a future commit, we will need to produce different return values that also dependend on which function in prim_file that was called; thus, we will need some way to pass down some sort of state to drv_get_response/2. As a preparation for that, allow the third argument of drv_command/3 to be a fun. That also allows us to remove the convoluted special case handling of the list_dir operation.
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions