Added
authorMiro Jurisic <meeroh@mit.edu>
Tue, 7 Sep 1999 17:28:35 +0000 (17:28 +0000)
committerMiro Jurisic <meeroh@mit.edu>
Tue, 7 Sep 1999 17:28:35 +0000 (17:28 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11784 dc483132-0cff-0310-8789-dd5450dbe970

src/mac/ComErrLib.glue.h [new file with mode: 0644]
src/mac/ComErrLib.glue.post.cin [new file with mode: 0644]
src/mac/ComErrLib.glue.pre.cin [new file with mode: 0644]
src/mac/ComErrLib.glue.proto.h [new file with mode: 0644]
src/mac/KrbProfileLib.glue.h [new file with mode: 0644]
src/mac/KrbProfileLib.glue.post.cin [new file with mode: 0644]
src/mac/KrbProfileLib.glue.pre.cin [new file with mode: 0644]
src/mac/KrbProfileLib.glue.proto.h [new file with mode: 0644]

diff --git a/src/mac/ComErrLib.glue.h b/src/mac/ComErrLib.glue.h
new file mode 100644 (file)
index 0000000..deb4aeb
--- /dev/null
@@ -0,0 +1,6 @@
+#ifndef _COMERR_CFMGLUE_H_
+#define _COMERR_CFMGLUE_H_
+
+Boolean ComErrLibraryIsPresent ();
+
+#endif /* _KERBEROSPROFILE_CFMGLUE_H_ */
\ No newline at end of file
diff --git a/src/mac/ComErrLib.glue.post.cin b/src/mac/ComErrLib.glue.post.cin
new file mode 100644 (file)
index 0000000..495af6b
--- /dev/null
@@ -0,0 +1,7 @@
+#include <ComErrLib.glue.h>
+
+Boolean ComErrLibraryIsPresent ()
+{
+       Ptr     symAddr;
+       return (Find_Symbol (&symAddr, "\perror_message", error_message_ProcInfo)) == noErr;
+}
\ No newline at end of file
diff --git a/src/mac/ComErrLib.glue.pre.cin b/src/mac/ComErrLib.glue.pre.cin
new file mode 100644 (file)
index 0000000..e461533
--- /dev/null
@@ -0,0 +1,5 @@
+/* Include prototypes for glue functions */
+#include <com_err.h>
+
+/* Hardcode library fragment name here */
+#define kLibraryName "\pMIT KerberosĀ„ComErrLib"
diff --git a/src/mac/ComErrLib.glue.proto.h b/src/mac/ComErrLib.glue.proto.h
new file mode 100644 (file)
index 0000000..a079984
--- /dev/null
@@ -0,0 +1,3 @@
+const char* error_message(errcode_t);
+errcode_t add_error_table (const struct error_table *);
+errcode_t remove_error_table(const struct error_table *);
diff --git a/src/mac/KrbProfileLib.glue.h b/src/mac/KrbProfileLib.glue.h
new file mode 100644 (file)
index 0000000..05748ee
--- /dev/null
@@ -0,0 +1,6 @@
+#ifndef _KERBEROSPROFILE_CFMGLUE_H_
+#define _KERBEROSPROFILE_CFMGLUE_H_
+
+Boolean KerberosProfileLibraryIsPresent ();
+
+#endif /* _KERBEROSPROFILE_CFMGLUE_H_ */
\ No newline at end of file
diff --git a/src/mac/KrbProfileLib.glue.post.cin b/src/mac/KrbProfileLib.glue.post.cin
new file mode 100644 (file)
index 0000000..bc3bf9a
--- /dev/null
@@ -0,0 +1,7 @@
+#include <KrbProfileLib.glue.h>
+
+Boolean KerberosProfileLibraryIsPresent ()
+{
+       Ptr     symAddr;
+       return (Find_Symbol (&symAddr, "\pprofile_init", profile_init_ProcInfo)) == noErr;
+}
\ No newline at end of file
diff --git a/src/mac/KrbProfileLib.glue.pre.cin b/src/mac/KrbProfileLib.glue.pre.cin
new file mode 100644 (file)
index 0000000..37b20e8
--- /dev/null
@@ -0,0 +1,5 @@
+/* Include prototypes for glue functions */
+#include <profile.h>
+
+/* Hardcode library fragment name here */
+#define kLibraryName "\pMIT KerberosĀ„KerberosProfileLib"
diff --git a/src/mac/KrbProfileLib.glue.proto.h b/src/mac/KrbProfileLib.glue.proto.h
new file mode 100644 (file)
index 0000000..80e3337
--- /dev/null
@@ -0,0 +1,18 @@
+long profile_init (profile_filespec_t *files, profile_t *ret_profile);
+long profile_init_path (profile_filespec_list_t filelist, profile_t *ret_profile);
+long profile_flush (profile_t profile);
+void profile_abandon (profile_t profile);
+void profile_release (profile_t profile);
+long profile_get_values (profile_t profile, const char **names, char ***ret_values);
+void profile_free_list (char **list);
+long profile_get_string (profile_t profile, const char *name, const char *subname, const char *subsubname, const char *def_val, char **ret_string); long profile_get_integer (profile_t profile, const char *name, const char *subname, const char *subsubname, int def_val, int *ret_default);
+long profile_get_relation_names (profile_t profile, const char **names, char ***ret_names);
+long profile_get_subsection_names (profile_t profile, const char **names, char ***ret_names);
+long profile_iterator_create (profile_t profile, const char **names, int flags, void **ret_iter);
+void profile_iterator_free (void **iter_p);
+long profile_iterator (void    **iter_p, char **ret_name, char **ret_value);
+void profile_release_string (char *str);
+long profile_update_relation (profile_t profile, const char **names, const char *old_value, const char *new_value);
+long profile_clear_relation (profile_t profile, const char **names);
+long profile_rename_section (profile_t profile, const char **names, const char *new_name);
+long profile_add_relation (profile_t profile, const char **names, const char *new_value);