Commit da7f1fb3 authored by Federico Vaga's avatar Federico Vaga

lib: deprecate `open_by_lun`

The LUN concept is something that does not belong to Mock Turtle.
Typically, Mock Turtle is just a middle layer of a more complex architecture.
The LUN mapping should be done by the upper layers, at this level the library
deal with the device identifiers
Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent f878351b
......@@ -120,7 +120,7 @@ extern void trtl_list_free(char **list);
extern struct trtl_dev *trtl_open(const char *device);
extern struct trtl_dev *trtl_open_by_fmc(uint32_t device_id);
extern struct trtl_dev *trtl_open_by_lun(unsigned int lun);
extern struct trtl_dev *trtl_open_by_lun(unsigned int lun) __attribute__((deprecated));
extern void trtl_close(struct trtl_dev *trtl);
extern char *trtl_name_get(struct trtl_dev *trtl);
extern int trtl_app_id_get(struct trtl_dev *trtl, uint32_t *app_id);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment