]> git.sur5r.net Git - openldap/commitdiff
Added stubs function, for dummy references to exported symbols.
authorHoward Chu <hyc@openldap.org>
Thu, 28 Oct 1999 07:15:17 +0000 (07:15 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 28 Oct 1999 07:15:17 +0000 (07:15 +0000)
See README 1.27 log

servers/slapd/nt_svc.c

index 30562627954da31a37ddb03a1bba36c7a34ab441..33fa64d99cc4d3129e36f963d9c770b9debd2abe 100644 (file)
@@ -18,7 +18,27 @@ void WINAPI ServiceMain( DWORD argc, LPTSTR *argv );
 int srv_install( char* service, char* filename );
 int srv_remove ( char* service, char* filename );
 
-int main( DWORD argc, LPTSTR *argv )
+static void stubs()
+{
+    ldap_add_s(NULL, NULL, NULL);
+    ldap_bind_s(NULL, NULL, NULL, 0);
+    ldap_delete_s(NULL, NULL);
+    ldap_first_attribute(NULL, NULL, NULL);
+    ldap_first_entry(NULL, NULL);
+    ldap_get_dn(NULL, NULL);
+    ldap_get_option(NULL, 0, NULL);
+    ldap_get_values_len(NULL, NULL, NULL);
+    ldap_init(NULL, 0);
+    ldap_modify_s(NULL, NULL, NULL);
+    ldap_modrdn_s(NULL, NULL, NULL);
+    ldap_msgfree(NULL);
+    ldap_next_attribute(NULL, NULL, NULL);
+    ldap_result(NULL, 0, 0, NULL, NULL);
+    ldap_search(NULL, NULL, 0, NULL, NULL, 0);
+    ldap_unbind(NULL);
+}
+
+int main( int argc, LPTSTR *argv )
 {
        int             length;
        char    filename[MAX_PATH], *fname_start;