Lines Matching refs:qsysinfo
488 dlGetObjectName(Qp0l_QSYS_Info_t * qsysinfo, const char * dir, in dlGetObjectName() argument
504 if (!qsysinfo) { in dlGetObjectName()
559 Qp0lCvtPathToQSYSObjName(qptp, qsysinfo, "QSYS0100", sizeof *qsysinfo, in dlGetObjectName()
592 dlpath2QSYS(Qp0l_QSYS_Info_t * qsysinfo, const char * path, const char * dftlib) in dlpath2QSYS() argument
617 if (!qsysinfo || !path) { in dlpath2QSYS()
642 memset((char *) qsysinfo, 0, sizeof *qsysinfo); in dlpath2QSYS()
657 strcpy(qsysinfo->Lib_Name, "QSYS"); in dlpath2QSYS()
659 path = getcomponent(qsysinfo->Lib_Name, path); in dlpath2QSYS()
670 path = getcomponent(qsysinfo->Obj_Name, path); in dlpath2QSYS()
678 path = getcomponent(qsysinfo->Obj_Name, path); in dlpath2QSYS()
689 strcpy(qsysinfo->Lib_Name, qsysinfo->Obj_Name); in dlpath2QSYS()
690 memset(qsysinfo->Obj_Name, 0, in dlpath2QSYS()
691 sizeof qsysinfo->Obj_Name); in dlpath2QSYS()
692 path = getcomponent(qsysinfo->Obj_Name, path); in dlpath2QSYS()
695 strcpy(qsysinfo->Lib_Name, dftlib? dftlib: "*LIBL"); in dlpath2QSYS()
706 path = getcomponent(qsysinfo->Mbr_Name, path); in dlpath2QSYS()
707 strcpy(qsysinfo->Mbr_Type, "*MBR"); in dlpath2QSYS()
713 strcpy(qsysinfo->Lib_Type, "*LIB"); in dlpath2QSYS()
715 if (qsysinfo->Obj_Name[0]) in dlpath2QSYS()
716 strcpy(qsysinfo->Obj_Type, "*FILE"); in dlpath2QSYS()
718 qsysinfo->Bytes_Returned = sizeof *qsysinfo; in dlpath2QSYS()
719 qsysinfo->Bytes_Available = sizeof *qsysinfo; in dlpath2QSYS()
738 dl_ifs_link(Qp0l_QSYS_Info_t * qsysinfo, const char * pathname) in dl_ifs_link() argument
747 return dlGetObjectName(qsysinfo, (const char *) NULL, 0, pathname); in dl_ifs_link()
752 dl_path_link(Qp0l_QSYS_Info_t * qsysinfo, const char * pathvar, in dl_path_link() argument
798 if (!dlGetObjectName(qsysinfo, q, p - q, filename)) in dl_path_link()
799 if (!testproc || (*testproc)(qsysinfo)) in dl_path_link()
814 dl_DB2_path(Qp0l_QSYS_Info_t * qsysinfo, const char * pathname) in dl_DB2_path() argument
817 if (dlpath2QSYS(qsysinfo, pathname, (const char *) NULL)) in dl_DB2_path()
820 if (qsysinfo->Mbr_Type[0]) in dl_DB2_path()
823 if (!qsysinfo->Obj_Type[0]) in dl_DB2_path()
826 strcpy(qsysinfo->Obj_Type, "*SRVPGM"); /* Set our object type. */ in dl_DB2_path()
862 dl_qualified_object(Qp0l_QSYS_Info_t * qsysinfo, const char * pathname) in dl_qualified_object() argument
865 memset((char *) qsysinfo, 0, sizeof *qsysinfo); in dl_qualified_object()
867 if (dl_DB2_name(qsysinfo->Obj_Name, pathname) || in dl_qualified_object()
868 dl_DB2_name(qsysinfo->Lib_Name, pathname + 10)) in dl_qualified_object()
871 strcpy(qsysinfo->Lib_Type, "*LIB"); in dl_qualified_object()
872 strcpy(qsysinfo->Obj_Type, "*SRVPGM"); in dl_qualified_object()
878 dl_lib_object(Qp0l_QSYS_Info_t * qsysinfo, in dl_lib_object() argument
885 strcpy(qsysinfo->Lib_Name, libname); in dl_lib_object()
886 strcpy(qsysinfo->Lib_Type, "*LIB"); in dl_lib_object()
887 strcpy(qsysinfo->Obj_Type, "*SRVPGM"); in dl_lib_object()
888 cp = qsysinfo->Obj_Name; in dl_lib_object()
926 dl_is_srvpgm(const Qp0l_QSYS_Info_t * qsysinfo) in dl_is_srvpgm() argument
932 if (!qsysinfo->Lib_Name[0] || strcmp(qsysinfo->Lib_Type, "*LIB") || in dl_is_srvpgm()
933 !qsysinfo->Obj_Name[0] || strcmp(qsysinfo->Obj_Type, "*SRVPGM") || in dl_is_srvpgm()
934 qsysinfo->Mbr_Name[0] || qsysinfo->Mbr_Type[0]) in dl_is_srvpgm()
942 strcmp(qsysinfo->Lib_Name, "QSYS")? "/QSYS.LIB": "", in dl_is_srvpgm()
943 qsysinfo->Lib_Name, qsysinfo->Obj_Name); in dl_is_srvpgm()