+/*
+ * Mapping between command-line switches and profile entries, communicated
+ * from 'send'. We use a service name of 'post' internally.
+ */
+
+static struct oauth_profile {
+ const char *profname;
+ int switchnum;
+} oauthswitches[] = {
+ { "oauth-post-credential-file", OAUTHCREDFILESW },
+ { "oauth-post-client_id", OAUTHCLIDSW },
+ { "oauth-post-client_secret", OAUTHCLSECSW },
+ { "oauth-post-auth_endpoint", OAUTHAUTHENDSW },
+ { "oauth-post-redirect_url", OAUTHREDIRSW },
+ { "oauth-post-token_endpoint", OAUTHTOKENDSW },
+ { "oauth-post-scope", OAUTHSCOPESW },
+ { NULL, 0 }
+};
+