Re: Question about struct idbm
Yangkook Kim wrote: Hi, I have a question about struct idbm. I want to know what the role of the structure in the codes of open-iscsi initiator. While reading codes of iscsiadm.c, idbm.c, etc, I see that struct idbm is passed to many functions. However, I found that these functions do not use the structure very much, and only a few members of the structure are used by these functions. Guessing from the name, I understand that the structure would play central role in the idbm database, but don't see where the role played. Can anybody explain to me what the role of the structure and the relationship with idbm database briefly? What version of open-iscsi are you using? We only have struct idbm in idbm.c now. It was used to access the iscsi db. The iscsi db has changed to ending up just a bunch of files in /etc/iscsi/, so the struct has been less usefull and is not mostly use for locking and referencing the the config file the db recrods are based on. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups open-iscsi group. To post to this group, send email to open-iscsi@googlegroups.com To unsubscribe from this group, send email to open-iscsi+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/open-iscsi -~--~~~~--~~--~--~---
Question about struct idbm
Hi, I have a question about struct idbm. I want to know what the role of the structure in the codes of open- iscsi initiator is. While reading codes in iscsiadm.c, idbm.c, etc, I see that struct idbm is passed to many functions. However, I found that these functions do not use the structure very much, and only a few members of the structure are used by these functions. Guessing from the name, I understand that the structure would play central role in the idbm database, but don't see where the role played. Can anybody explain to me what the role of the structure and the relationship with idbm database briefly? Thanks, Kim --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups open-iscsi group. To post to this group, send email to open-iscsi@googlegroups.com To unsubscribe from this group, send email to open-iscsi+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/open-iscsi -~--~~~~--~~--~--~---
Question about struct idbm
Hi, I have a question about struct idbm. I want to know what the role of the structure in the codes of open-iscsi initiator. While reading codes of iscsiadm.c, idbm.c, etc, I see that struct idbm is passed to many functions. However, I found that these functions do not use the structure very much, and only a few members of the structure are used by these functions. Guessing from the name, I understand that the structure would play central role in the idbm database, but don't see where the role played. Can anybody explain to me what the role of the structure and the relationship with idbm database briefly? Thanks, Kim --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups open-iscsi group. To post to this group, send email to open-iscsi@googlegroups.com To unsubscribe from this group, send email to open-iscsi+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/open-iscsi -~--~~~~--~~--~--~---